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

Method __init__

IPython/testing/tests/test_decorators.py:109–118  ·  view source on GitHub ↗

Make a FooClass. Example: >>> f = FooClass(3) junk

(self,x)

Source from the content-addressed store, hash-verified

107 """
108
109 def __init__(self,x):
110 """Make a FooClass.
111
112 Example:
113
114 >>> f = FooClass(3)
115 junk
116 """
117 print('Making a FooClass.')
118 self.x = x
119
120 def bar(self,y):
121 """Example:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected