Skip to content

Commit 665be15

Browse files
committed
Update doc/comments
1 parent f01c750 commit 665be15

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎Doc/c-api/init_config.rst‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ Initialize Python
249249
250250
.. versionchanged:: next
251251
The function no longer sets an exit code if a command line option wants
252-
to exit Python. Instead, the option is processed in :c:func:`Py_RunMain`.
252+
to exit Python. Instead, the option is now processed in
253+
:c:func:`Py_RunMain`.
253254
254255
255256
.. _pyinitconfig-opts:

‎Include/cpython/initconfig.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ typedef struct PyConfig {
245245

246246
// If a command line option wants to exit Python, store it in this member
247247
// and only process the option in Py_RunMain() instead of PyConfig_Read().
248-
// If equals to -1, there is no option.
248+
// If equals to 0, there is no option.
249249
int _deferred_cmdline_option;
250250
} PyConfig;
251251

0 commit comments

Comments
 (0)