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

Function read_signed_varint

Lib/test/test_code.py:1306–1311  ·  view source on GitHub ↗
(it)

Source from the content-addressed store, hash-verified

1304 return val
1305
1306def read_signed_varint(it):
1307 uval = read_varint(it)
1308 if uval & 1:
1309 return -(uval >> 1)
1310 else:
1311 return uval >> 1
1312
1313def parse_location_table(code):
1314 line = code.co_firstlineno

Callers 1

parse_location_tableFunction · 0.70

Calls 1

read_varintFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…