summaryrefslogtreecommitdiffstats
path: root/Lib/symtable.py
diff options
context:
space:
mode:
authorBatuhan Taşkaya <batuhanosmantaskaya@gmail.com>2020-04-13 23:51:32 (GMT)
committerGitHub <noreply@github.com>2020-04-13 23:51:32 (GMT)
commit990ea4200f05fcd8bce3de363f4d7745ae142385 (patch)
treebfc217385ff3cf46a0a8e925a8b1d7dbbe2a8d20 /Lib/symtable.py
parenta1a0eb4a394a5ac7a8422616ce1ee4125a3ef74f (diff)
downloadcpython-990ea4200f05fcd8bce3de363f4d7745ae142385.zip
cpython-990ea4200f05fcd8bce3de363f4d7745ae142385.tar.gz
cpython-990ea4200f05fcd8bce3de363f4d7745ae142385.tar.bz2
bpo-40208: Remove deprecated has_exec method of SymbolTable (GH-19396)
Diffstat (limited to 'Lib/symtable.py')
-rw-r--r--Lib/symtable.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/symtable.py b/Lib/symtable.py
index ac0a64f..a711676 100644
--- a/Lib/symtable.py
+++ b/Lib/symtable.py
@@ -82,10 +82,6 @@ class SymbolTable(object):
def has_children(self):
return bool(self._table.children)
- def has_exec(self):
- """Return true if the scope uses exec. Deprecated method."""
- return False
-
def get_identifiers(self):
return self._table.symbols.keys()