[3.8] bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861). (GH-24016)
https://github.com/python/cpython/commit/bc15cdbc6eb112cb72acf189769ecd539dd... commit: bc15cdbc6eb112cb72acf189769ecd539dd45652 branch: 3.8 author: Andre Delfino <adelfino@gmail.com> committer: serhiy-storchaka <storchaka@gmail.com> date: 2020-12-31T15:10:46+02:00 summary: [3.8] bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861). (GH-24016) (cherry picked from commit 2edfc86f69d8a74f4821974678f664ff94a9dc22) files: M Doc/library/symtable.rst diff --git a/Doc/library/symtable.rst b/Doc/library/symtable.rst index 7c6ac4dccf8b7..56cb23db1d0c9 100644 --- a/Doc/library/symtable.rst +++ b/Doc/library/symtable.rst @@ -160,6 +160,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
participants (1)
-
serhiy-storchaka