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

Function _nest_class

Lib/pyclbr.py:94–97  ·  view source on GitHub ↗

Return a Class after nesting within ob.

(ob, class_name, lineno, end_lineno, super=None)

Source from the content-addressed store, hash-verified

92 parent=ob, is_async=is_async, end_lineno=end_lineno)
93
94def _nest_class(ob, class_name, lineno, end_lineno, super=None):
95 "Return a Class after nesting within ob."
96 return Class(ob.module, class_name, super, ob.file, lineno,
97 parent=ob, end_lineno=end_lineno)
98
99
100def readmodule(module, path=None):

Callers

nothing calls this directly

Calls 1

ClassClass · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…