Skip to content

Commit 9604b16

Browse files
committed
doc: true division doesn't use co_flags anymore
1 parent 16dcb57 commit 9604b16

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Doc/reference/datamodel.rst

+1-4
Original file line numberDiff line numberDiff line change
@@ -1526,10 +1526,7 @@ positional arguments; bit ``0x08`` is set if the function uses the
15261526
if the function is a generator. See :ref:`inspect-module-co-flags` for details
15271527
on the semantics of each flags that might be present.
15281528

1529-
Future feature declarations (``from __future__ import division``) also use bits
1530-
in :attr:`~codeobject.co_flags` to indicate whether a code object was compiled with a
1531-
particular feature enabled: bit ``0x2000`` is set if the function was compiled
1532-
with future division enabled; bits ``0x10`` and ``0x1000`` were used in earlier
1529+
Bits ``0x10``, ``0x1000``, and ``0x2000`` were used in earlier
15331530
versions of Python.
15341531

15351532
Other bits in :attr:`~codeobject.co_flags` are reserved for internal use.

0 commit comments

Comments
 (0)