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

Method __init__

IPython/core/inputsplitter.py:114–117  ·  view source on GitHub ↗
(self, pos, line)

Source from the content-addressed store, hash-verified

112class InMultilineStatement:
113 type = exact_type = IN_MULTILINE_STATEMENT
114 def __init__(self, pos, line):
115 self.s = ''
116 self.start = self.end = pos
117 self.line = line
118
119def partial_tokens(s):
120 """Iterate over tokens from a possibly-incomplete string of code.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected