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

Method namespace

Lib/pdb.py:271–279  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

269
270 @property
271 def namespace(self):
272 return dict(
273 __name__='__main__',
274 __file__=os.path.normcase(os.path.abspath(self.filename)),
275 __package__=self._spec.parent,
276 __loader__=self._spec.loader,
277 __spec__=self._spec,
278 __builtins__=__builtins__,
279 )
280
281
282class _ZipTarget(_ExecutableTarget):

Callers

nothing calls this directly

Calls 2

normcaseMethod · 0.80
abspathMethod · 0.45

Tested by

no test coverage detected