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

Class Foo

IPython/lib/pretty.py:862–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

860if __name__ == '__main__':
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")
872
873 pprint(Foo(), verbose=True)

Callers 1

pretty.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected