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

serhiy-storchaka webhook-mailer at python.org
Thu Dec 31 08:10:18 EST 2020


https://github.com/python/cpython/commit/7a7f3e0d6a197c81fff83ad777c74324ceb4198f
commit: 7a7f3e0d6a197c81fff83ad777c74324ceb4198f
branch: 3.9
author: Andre Delfino <adelfino at gmail.com>
committer: serhiy-storchaka <storchaka at gmail.com>
date: 2020-12-31T15:10:10+02:00
summary:

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

(cherry picked from commit 2edfc86f69d8a74f4821974678f664ff94a9dc22)

files:
M Doc/library/symtable.rst

diff --git a/Doc/library/symtable.rst b/Doc/library/symtable.rst
index 3efdecb5af710..e364232247c20 100644
--- a/Doc/library/symtable.rst
+++ b/Doc/library/symtable.rst
@@ -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



More information about the Python-checkins mailing list