MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / skip_chars

Function skip_chars

tools/python-3.11.9-amd64/Lib/tomllib/_parser.py:232–238  ·  view source on GitHub ↗
(src: str, pos: Pos, chars: Iterable[str])

Source from the content-addressed store, hash-verified

230
231
232def skip_chars(src: str, pos: Pos, chars: Iterable[str]) -> Pos:
233 try:
234 while src[pos] in chars:
235 pos += 1
236 except IndexError:
237 pass
238 return pos
239
240
241def skip_until(

Callers 9

loadsFunction · 0.70
create_dict_ruleFunction · 0.70
create_list_ruleFunction · 0.70
parse_key_value_pairFunction · 0.70
parse_keyFunction · 0.70
parse_key_partFunction · 0.70
parse_inline_tableFunction · 0.70
parse_basic_str_escapeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected