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

Function increment

Lib/traceback.py:881–885  ·  view source on GitHub ↗

Get the next valid character index in `lines`.

(lineno, col)

Source from the content-addressed store, hash-verified

879 return lineno, col
880
881 def increment(lineno, col):
882 """Get the next valid character index in `lines`."""
883 col += 1
884 lineno, col = next_valid_char(lineno, col)
885 return lineno, col
886
887 def nextline(lineno, col):
888 """Get the next valid character at least on the next line"""

Callers 1

increment_untilFunction · 0.85

Calls 1

next_valid_charFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…