From 41e35336129b32372169007bdbe5c2cbba9c0b54 Mon Sep 17 00:00:00 2001 From: Andre Delfino Date: Tue, 29 Dec 2020 10:32:10 -0300 Subject: [PATCH] [3.8] bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861). (cherry picked from commit 2edfc86f69d8a74f4821974678f664ff94a9dc22) Co-authored-by: Andre Delfino --- Doc/library/symtable.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Doc/library/symtable.rst b/Doc/library/symtable.rst index 7c6ac4dccf8b76..56cb23db1d0c91 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