mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-40208: Remove deprecated has_exec method of SymbolTable (GH-19396)
This commit is contained in:
parent
a1a0eb4a39
commit
990ea4200f
5 changed files with 5 additions and 9 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue