summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/symtable.rst4
-rw-r--r--Doc/whatsnew/3.9.rst4
2 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/symtable.rst b/Doc/library/symtable.rst
index 7c6ac4d..3efdecb 100644
--- a/Doc/library/symtable.rst
+++ b/Doc/library/symtable.rst
@@ -67,10 +67,6 @@ Examining Symbol Tables
Return ``True`` if the block has nested namespaces within it. These can
be obtained with :meth:`get_children`.
- .. method:: has_exec()
-
- Return ``True`` if the block uses ``exec``.
-
.. method:: get_identifiers()
Return a list of names of symbols in this table.
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 1bbcae3..afb099a 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -753,6 +753,10 @@ Removed
the ``__annotations__`` attribute instead.
(Contributed by Serhiy Storchaka in :issue:`40182`.)
+* The :meth:`symtable.SymbolTable.has_exec` method has been removed. It was
+ deprecated since 2006, and only returning ``False`` when it's called.
+ (Contributed by Batuhan Taskaya in :issue:`40208`)
+
Porting to Python 3.9
=====================