From: Andre Delfino Date: Thu, 31 Dec 2020 13:10:10 +0000 (-0300) Subject: [3.9] bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861). (GH-24017) X-Git-Tag: v3.9.2rc1~85 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7a7f3e0d6a197c81fff83ad777c74324ceb4198f;p=thirdparty%2FPython%2Fcpython.git [3.9] bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861). (GH-24017) (cherry picked from commit 2edfc86f69d8a74f4821974678f664ff94a9dc22) --- diff --git a/Doc/library/symtable.rst b/Doc/library/symtable.rst index 3efdecb5af71..e364232247c2 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