summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorPhobosmir <phobos_mir@mail.ru>2017-11-04 10:39:45 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2017-11-04 10:39:45 (GMT)
commit82cd3cede804ca694fb0657fd985d5eff84a414f (patch)
tree48fa799710eebca6fd1e48c36e5f056e0fd9b9ae /Doc/c-api
parent63ff4131af86e8a48cbedb9fbba95bd65ca90061 (diff)
downloadcpython-82cd3cede804ca694fb0657fd985d5eff84a414f.zip
cpython-82cd3cede804ca694fb0657fd985d5eff84a414f.tar.gz
cpython-82cd3cede804ca694fb0657fd985d5eff84a414f.tar.bz2
bpo-31678: Fix typo in PyDateTime_DELTA_GET_MICROSECONDS (GH-3869)
Diffstat (limited to 'Doc/c-api')
-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.