MCPcopy Create free account
hub / github.com/ipython/ipython / Obj

Class Obj

docs/sphinxext/apigen.py:29–33  ·  view source on GitHub ↗

Namespace to hold arbitrary information.

Source from the content-addressed store, hash-verified

27
28
29class Obj(object):
30 '''Namespace to hold arbitrary information.'''
31 def __init__(self, **kwargs):
32 for k, v in kwargs.items():
33 setattr(self, k, v)
34
35class FuncClsScanner(ast.NodeVisitor):
36 """Scan a module for top-level functions and classes.

Callers 2

visit_ClassDefMethod · 0.70
_import_funcs_classesMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected