summaryrefslogtreecommitdiffstats
path: root/Doc/library/symtable.rst
diff options
context:
space:
mode:
authorJoannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>2020-07-07 23:09:56 (GMT)
committerGitHub <noreply@github.com>2020-07-07 23:09:56 (GMT)
commita95ac779e6bca0d87819969e361627182b83292c (patch)
tree6e79fd65a5310f2bdde3e904345b93305d535315 /Doc/library/symtable.rst
parent8f42748ded5e978fe8a924115179d45a74a6363b (diff)
downloadcpython-a95ac779e6bca0d87819969e361627182b83292c.zip
cpython-a95ac779e6bca0d87819969e361627182b83292c.tar.gz
cpython-a95ac779e6bca0d87819969e361627182b83292c.tar.bz2
bpo-41224: Document is_annotated() in symtable module and update doc strings (GH-21369)
* Document is_annotate() and update doc strings * Move quotes to the next line. Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Diffstat (limited to 'Doc/library/symtable.rst')
-rw-r--r--Doc/library/symtable.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/symtable.rst b/Doc/library/symtable.rst
index 3efdecb..c9521d6 100644
--- a/Doc/library/symtable.rst
+++ b/Doc/library/symtable.rst
@@ -156,6 +156,10 @@ Examining Symbol Tables
Return ``True`` if the symbol is local to its block.
+ .. method:: is_annotated()
+
+ Return ``True`` if the symbol is annotated.
+
.. method:: is_free()
Return ``True`` if the symbol is referenced in its block, but not assigned