MCPcopy Index your code
hub / github.com/python/cpython / _scope_str

Method _scope_str

Lib/symtable.py:293–294  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

291 return f'<symbol {self.__name!r}: {self._scope_str()}, {flags_str}>'
292
293 def _scope_str(self):
294 return _scopes_value_to_name.get(self.__scope) or str(self.__scope)
295
296 def _flags_str(self):
297 for flagname, flagvalue in _flags:

Callers 2

__repr__Method · 0.95
print_symbolsFunction · 0.80

Calls 2

strFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected