summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Delfino <adelfino@gmail.com>2020-12-31 13:10:46 (GMT)
committerGitHub <noreply@github.com>2020-12-31 13:10:46 (GMT)
commitbc15cdbc6eb112cb72acf189769ecd539dd45652 (patch)
tree42509714c22fa6a0218c152e8c156111885687c8
parent741f22df24ca61db38b5a7a2a58b5939b7154a01 (diff)
downloadcpython-bc15cdbc6eb112cb72acf189769ecd539dd45652.zip
cpython-bc15cdbc6eb112cb72acf189769ecd539dd45652.tar.gz
cpython-bc15cdbc6eb112cb72acf189769ecd539dd45652.tar.bz2
[3.8] bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861). (GH-24016)
(cherry picked from commit 2edfc86f69d8a74f4821974678f664ff94a9dc22)
-rw-r--r--Doc/library/symtable.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/symtable.rst b/Doc/library/symtable.rst
index 7c6ac4d..56cb23d 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