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

Method __init__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

_get_scopeFunction · 0.85

Tested by

no test coverage detected