Skip to content

Commit 915d7dd

Browse files
authored
gh-115091: Remove a left-over sentence that refers to Py_OptimizeFlag from ctypes documentation (GH-115092)
Remove a left-over sentence that refers to Py_OptimizeFlag Remove a left-over sentence that refers to an example that was present in Python 3.10 and was using ``Py_OptimizeFlag``.
1 parent 7a3518e commit 915d7dd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Doc/library/ctypes.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,10 +1117,6 @@ api::
11171117
>>> print(hex(version.value))
11181118
0x30c00a0
11191119

1120-
If the interpreter would have been started with :option:`-O`, the sample would
1121-
have printed ``c_long(1)``, or ``c_long(2)`` if :option:`-OO` would have been
1122-
specified.
1123-
11241120
An extended example which also demonstrates the use of pointers accesses the
11251121
:c:data:`PyImport_FrozenModules` pointer exported by Python.
11261122

0 commit comments

Comments
 (0)