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

Method __init__

IPython/lib/pretty.py:863–868  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

861 from random import randrange
862 class Foo(object):
863 def __init__(self):
864 self.foo = 1
865 self.bar = re.compile(r'\s+')
866 self.blub = dict.fromkeys(range(30), randrange(1, 40))
867 self.hehe = 23424.234234
868 self.list = ["blub", "blah", self]
869
870 def get_foo(self):
871 print("foo")

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected