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

Method __repr__

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

Source from the content-addressed store, hash-verified

287 self.__module_scope = module_scope
288
289 def __repr__(self):
290 flags_str = '|'.join(self._flags_str())
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)

Callers

nothing calls this directly

Calls 3

_flags_strMethod · 0.95
_scope_strMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected