MCPcopy Index your code
hub / github.com/RustPython/RustPython / __repr__

Method __repr__

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

Source from the content-addressed store, hash-verified

290 self.__module_scope = module_scope
291
292 def __repr__(self):
293 flags_str = '|'.join(self._flags_str())
294 return f'<symbol {self.__name!r}: {self._scope_str()}, {flags_str}>'
295
296 def _scope_str(self):
297 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