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

Function scan_once

Lib/json/scanner.py:66–70  ·  view source on GitHub ↗
(string, idx)

Source from the content-addressed store, hash-verified

64 raise StopIteration(idx)
65
66 def scan_once(string, idx):
67 try:
68 return _scan_once(string, idx)
69 finally:
70 memo.clear()
71
72 return scan_once
73

Callers 2

JSONObjectFunction · 0.85
JSONArrayFunction · 0.85

Calls 2

_scan_onceFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…