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

Method __init__

IPython/core/tests/test_inputtransformer2.py:250–251  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

248 """
249 class Tk:
250 def __init__(self, s):
251 self.string = s
252
253 nt.assert_equal(_find_assign_op([Tk(s) for s in ('','a','=','b')]), 2)
254 nt.assert_equal(_find_assign_op([Tk(s) for s in ('','(', 'a','=','b', ')', '=' ,'5')]), 6)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected