diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 1e53c0e0e6f971..c22ae031d0914a 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1470,6 +1470,7 @@ indirectly) to mutable objects. single: co_cellvars (code object attribute) single: co_freevars (code object attribute) single: co_qualname (code object attribute) + single: co_exceptiontable (code object attribute) Special read-only attributes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1549,6 +1550,10 @@ Special read-only attributes - An :class:`integer ` encoding a number of flags for the interpreter. + * - .. attribute:: co_exceptiontable + - A bytes object representing the exception handling table used by the interpreter. + This attribute was introduced in Python 3.11. + .. index:: pair: object; generator The following flag bits are defined for :attr:`~codeobject.co_flags`: