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

Method bar

IPython/testing/tests/test_decorators.py:120–129  ·  view source on GitHub ↗

Example: >>> ff = FooClass(3) >>> ff.bar(0) boom! >>> 1/0 bam!

(self,y)

Source from the content-addressed store, hash-verified

118 self.x = x
119
120 def bar(self,y):
121 """Example:
122
123 >>> ff = FooClass(3)
124 >>> ff.bar(0)
125 boom!
126 >>> 1/0
127 bam!
128 """
129 return 1/y
130
131 def baz(self,y):
132 """Example:

Callers 1

check_module_contentsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected