Skip to content

Commit 7a7f3e0

Browse files
[3.9] bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861). (GH-24017)
(cherry picked from commit 2edfc86)
1 parent 3966e2e commit 7a7f3e0

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)