summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2020-03-16 16:17:40 -0700
committerGitHub <noreply@github.com>2020-03-16 16:17:40 -0700
commit2317fb58732c2e1ae0d2a6c38d6df6e96a3cf7b4 (patch)
treef5df60325c0d2fde740f546cd597950c891b3edd
parentba0c14f9ddf01f6cf98d278cbc4769a476342db0 (diff)
parent8ae103e07ce2332918340463f419f7aad6528c55 (diff)
Merge pull request #2710 from dkhawk/patch-15.0.x
Fix documentation typo: tm_minute should be tm_min
-rw-r--r--shared-bindings/time/__init__.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/time/__init__.c b/shared-bindings/time/__init__.c
index 8d7f2f3fd..aa2f4fc6a 100644
--- a/shared-bindings/time/__init__.c
+++ b/shared-bindings/time/__init__.c
@@ -107,7 +107,7 @@ mp_obj_t struct_time_make_new(const mp_obj_type_t *type, size_t n_args, const mp
//| * ``tm_month``: the month, range [1, 12]
//| * ``tm_mday``: the day of the month, range [1, 31]
//| * ``tm_hour``: the hour, range [0, 23]
-//| * ``tm_minute``: the minute, range [0, 59]
+//| * ``tm_min``: the minute, range [0, 59]
//| * ``tm_sec``: the second, range [0, 61]
//| * ``tm_wday``: the day of the week, range [0, 6], Monday is 0
//| * ``tm_yday``: the day of the year, range [1, 366], -1 indicates not known