MCPcopy Index your code
hub / github.com/RustPython/RustPython / nextline

Function nextline

Lib/traceback.py:871–876  ·  view source on GitHub ↗

Get the next valid character at least on the next line

(lineno, col)

Source from the content-addressed store, hash-verified

869 return lineno, col
870
871 def nextline(lineno, col):
872 """Get the next valid character at least on the next line"""
873 col = 0
874 lineno += 1
875 lineno, col = next_valid_char(lineno, col)
876 return lineno, col
877
878 def increment_until(lineno, col, stop):
879 """Get the next valid non-"\\#" character that satisfies the `stop` predicate"""

Callers 1

increment_untilFunction · 0.85

Calls 1

next_valid_charFunction · 0.85

Tested by

no test coverage detected