Skip to content

Commit bc15cdb

Browse files
[3.8] bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861). (GH-24016)
(cherry picked from commit 2edfc86)
1 parent 741f22d commit bc15cdb

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
@@ -160,6 +160,12 @@ Examining Symbol Tables
160160

161161
Return ``True`` if the symbol is local to its block.
162162

163+
.. method:: is_annotated()
164+
165+
Return ``True`` if the symbol is annotated.
166+
167+
.. versionadded:: 3.6
168+
163169
.. method:: is_free()
164170

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

0 commit comments

Comments
 (0)