MCPcopy Index your code
hub / github.com/python/cpython / __next__

Method __next__

Lib/shlex.py:298–302  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

296 return self
297
298 def __next__(self):
299 token = self.get_token()
300 if token == self.eof:
301 raise StopIteration
302 return token
303
304def split(s, comments=False, posix=True):
305 """Split the string *s* using shell-like syntax."""

Callers

nothing calls this directly

Calls 1

get_tokenMethod · 0.95

Tested by

no test coverage detected