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

Method __init__

Lib/symtable.py:285–290  ·  view source on GitHub ↗
(self, name, flags, namespaces=None, *, module_scope=False)

Source from the content-addressed store, hash-verified

283class Symbol:
284
285 def __init__(self, name, flags, namespaces=None, *, module_scope=False):
286 self.__name = name
287 self.__flags = flags
288 self.__scope = _get_scope(flags)
289 self.__namespaces = namespaces or ()
290 self.__module_scope = module_scope
291
292 def __repr__(self):
293 flags_str = '|'.join(self._flags_str())

Callers

nothing calls this directly

Calls 1

_get_scopeFunction · 0.85

Tested by

no test coverage detected