MCPcopy Index your code
hub / github.com/RustPython/RustPython / end_integer

Method end_integer

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

Source from the content-addressed store, hash-verified

269 self.add_object(False)
270
271 def end_integer(self):
272 raw = self.get_data()
273 if raw.startswith('0x') or raw.startswith('0X'):
274 self.add_object(int(raw, 16))
275 else:
276 self.add_object(int(raw))
277
278 def end_real(self):
279 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