Skip to content

Commit aa9d630

Browse files
committed
Fix semicolon shenanigans.
1 parent 5d43c50 commit aa9d630

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/datetime.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ macros.
1515

1616
.. c:macro:: PyDateTime_IMPORT()
1717
18-
Import the datetime C API. The macro does not need a semi-colon to be called.
18+
Import the datetime C API.
1919

2020
On success, populate the :c:var:`PyDateTimeAPI` pointer.
2121

@@ -24,7 +24,7 @@ macros.
2424

2525
.. code-block::
2626
27-
PyDateTime_IMPORT; // semi-colon is optional but recommended
27+
PyDateTime_IMPORT;
2828
if (PyErr_Occurred()) { /* cleanup */ }
2929
3030
.. warning::

0 commit comments

Comments
 (0)