summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2017-11-04 10:45:51 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2017-11-04 10:45:51 (GMT)
commitf9387469e82eccb6e0471037033f921be7f59909 (patch)
treecbdfd03833afa6ca2c1c4ee241bb219a29503584
parent6dbecd2cd9c9448b34e1a632509220f3c4cf7587 (diff)
downloadcpython-f9387469e82eccb6e0471037033f921be7f59909.zip
cpython-f9387469e82eccb6e0471037033f921be7f59909.tar.gz
cpython-f9387469e82eccb6e0471037033f921be7f59909.tar.bz2
bpo-31678: Fix typo in PyDateTime_DELTA_GET_MICROSECONDS (GH-3869)
(cherry picked from commit 82cd3cede804ca694fb0657fd985d5eff84a414f)
-rw-r--r--Doc/c-api/datetime.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/datetime.rst b/Doc/c-api/datetime.rst
index 39542bd..305e990 100644
--- a/Doc/c-api/datetime.rst
+++ b/Doc/c-api/datetime.rst
@@ -188,7 +188,7 @@ not be *NULL*, and the type is not checked:
.. versionadded:: 3.3
-.. c:function:: int PyDateTime_DELTA_GET_MICROSECOND(PyDateTime_Delta *o)
+.. c:function:: int PyDateTime_DELTA_GET_MICROSECONDS(PyDateTime_Delta *o)
Return the number of microseconds, as an int from 0 through 999999.