Skip to content

Commit 7c9d920

Browse files
encukouvstinner
andauthored
Apply suggestions from code review
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 2ad80d8 commit 7c9d920

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Include/pyabi.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,12 @@
6767
# define Py_GIL_DISABLED
6868
# endif
6969
# if defined(_Py_IS_TESTCEXT)
70-
// When compiling for abi3t, contents of Python.h should not depend
70+
// When compiling for abi3t, contents of Python.h should not depend
7171
// on Py_GIL_DISABLED.
7272
// We ask GCC to error if it sees the macro from this point on.
7373
// Since users are free to the macro, and there's no way to undo the
74-
// poisoning at the end of Python.h, we only do this in a test module.
74+
// poisoning at the end of Python.h, we only do this in a test module
75+
// (test_cext).
7576
# ifdef __GNUC__
7677
# undef Py_GIL_DISABLED
7778
# pragma GCC poison Py_GIL_DISABLED

0 commit comments

Comments
 (0)