[3.8] bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861). (GH-24016)

(cherry picked from commit 2edfc86f69)
This commit is contained in:
Andre Delfino 2020-12-31 10:10:46 -03:00 committed by GitHub
parent 741f22df24
commit bc15cdbc6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -160,6 +160,12 @@ Examining Symbol Tables
Return ``True`` if the symbol is local to its block. Return ``True`` if the symbol is local to its block.
.. method:: is_annotated()
Return ``True`` if the symbol is annotated.
.. versionadded:: 3.6
.. method:: is_free() .. method:: is_free()
Return ``True`` if the symbol is referenced in its block, but not assigned Return ``True`` if the symbol is referenced in its block, but not assigned