Skip to content

Commit 49f8d89

Browse files
committed
Clarify comments
1 parent 7e84118 commit 49f8d89

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/test/support/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,8 @@ def check_bolt_optimized():
880880
with warnings.catch_warnings():
881881
# ignore DeprecationWarning on sys.abiflags change on Windows
882882
warnings.simplefilter('ignore', DeprecationWarning)
883-
HAS_SYS_ABIFLAGS = hasattr(sys, 'abiflags') # equal to `not sys.platform.startswith('win')`
883+
# Equal to `not sys.platform.startswith('win')` prior to 3.16
884+
HAS_SYS_ABIFLAGS = hasattr(sys, 'abiflags')
884885

885886

886887
Py_GIL_DISABLED = bool(sysconfig.get_config_var('Py_GIL_DISABLED'))

0 commit comments

Comments
 (0)