Skip to content

Commit 5d43c50

Browse files
Apply suggestion from @StanFromIreland
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
1 parent 737ecf9 commit 5d43c50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/datetime.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ macros.
2424

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

0 commit comments

Comments
 (0)