We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d43c50 commit aa9d630Copy full SHA for aa9d630
Doc/c-api/datetime.rst
@@ -15,7 +15,7 @@ macros.
15
16
.. c:macro:: PyDateTime_IMPORT()
17
18
- Import the datetime C API. The macro does not need a semi-colon to be called.
+ Import the datetime C API.
19
20
On success, populate the :c:var:`PyDateTimeAPI` pointer.
21
@@ -24,7 +24,7 @@ macros.
24
25
.. code-block::
26
27
- PyDateTime_IMPORT; // semi-colon is optional but recommended
+ PyDateTime_IMPORT;
28
if (PyErr_Occurred()) { /* cleanup */ }
29
30
.. warning::
0 commit comments