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

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

View File

@ -156,6 +156,12 @@ Examining Symbol Tables
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()
Return ``True`` if the symbol is referenced in its block, but not assigned