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