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

Class Class

Lib/pyclbr.py:78–84  ·  view source on GitHub ↗

Information about a Python class.

Source from the content-addressed store, hash-verified

76
77
78class Class(_Object):
79 "Information about a Python class."
80 def __init__(self, module, name, super_, file, lineno,
81 parent=None, *, end_lineno=None):
82 super().__init__(module, name, file, lineno, end_lineno, parent)
83 self.super = super_ or []
84 self.methods = {}
85
86
87# These 2 functions are used in these tests

Callers 2

_nest_classFunction · 0.70
visit_ClassDefMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…