There was an error while loading. Please reload this page.
1 parent e0d57fc commit 48bb230Copy full SHA for 48bb230
1 file changed
Doc/reference/datamodel.rst
@@ -1558,6 +1558,16 @@ Special read-only attributes
1558
This attribute of code objects is deprecated, and may be removed in
1559
Python 3.15.
1560
1561
+ * - .. attribute:: codeobject.co_linetable
1562
+ - A :class:`bytes` object containing encoded source location information.
1563
+ The exact format is an implementation detail and may change between
1564
+ Python versions. Use :meth:`~codeobject.co_lines` and
1565
+ :meth:`~codeobject.co_positions` for supported access to line and
1566
+ position information. To create a modified copy of a code object,
1567
+ use :meth:`~codeobject.replace`.
1568
+
1569
+ .. versionadded:: 3.10
1570
1571
* - .. attribute:: codeobject.co_stacksize
1572
- The required stack size of the code object
1573
0 commit comments