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

Function skip_chars

Lib/tomllib/_parser.py:306–312  ·  view source on GitHub ↗
(src: str, pos: Pos, chars: Iterable[str])

Source from the content-addressed store, hash-verified

304
305
306def skip_chars(src: str, pos: Pos, chars: Iterable[str]) -> Pos:
307 try:
308 while src[pos] in chars:
309 pos += 1
310 except IndexError:
311 pass
312 return pos
313
314
315def skip_until(

Callers 8

loadsFunction · 0.85
create_dict_ruleFunction · 0.85
create_list_ruleFunction · 0.85
parse_key_value_pairFunction · 0.85
parse_keyFunction · 0.85
parse_key_partFunction · 0.85
parse_basic_str_escapeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…