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

Method end_integer

Lib/plistlib.py:265–270  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

263 self.add_object(False)
264
265 def end_integer(self):
266 raw = self.get_data()
267 if raw.startswith('0x') or raw.startswith('0X'):
268 self.add_object(int(raw, 16))
269 else:
270 self.add_object(int(raw))
271
272 def end_real(self):
273 self.add_object(float(self.get_data()))

Callers

nothing calls this directly

Calls 3

get_dataMethod · 0.95
add_objectMethod · 0.95
startswithMethod · 0.45

Tested by

no test coverage detected