Skip to content

Commit 9ecd345

Browse files
author
cleverOrange
committed
gh-146362: Document co_exceptiontable in code objects
1 parent f2fcc49 commit 9ecd345

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/reference/datamodel.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1545,6 +1545,11 @@ Special read-only attributes
15451545
* - .. attribute:: codeobject.co_stacksize
15461546
- The required stack size of the code object
15471547

1548+
* - .. attribute:: codeobject.co_exceptiontable
1549+
- A bytes object containing the exception handling table of the code object
1550+
1551+
.. versionadded:: 3.11
1552+
15481553
* - .. attribute:: codeobject.co_flags
15491554
- An :class:`integer <int>` encoding a number of flags for the
15501555
interpreter.

0 commit comments

Comments
 (0)