Skip to content

Commit da397dd

Browse files
committed
[3.9] bpo-41224: Add versionadded for Symbol.is_annotated (pythonGH-23861).
(cherry picked from commit 2edfc86) Co-authored-by: Andre Delfino <[email protected]>
1 parent 79c5357 commit da397dd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Doc/library/symtable.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,12 @@ Examining Symbol Tables
156156

157157
Return ``True`` if the symbol is local to its block.
158158

159+
.. method:: is_annotated()
160+
161+
Return ``True`` if the symbol is annotated.
162+
163+
.. versionadded:: 3.6
164+
159165
.. method:: is_free()
160166

161167
Return ``True`` if the symbol is referenced in its block, but not assigned

0 commit comments

Comments
 (0)