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

Method _getrefnum

Lib/plistlib.py:740–744  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

738 self._flatten(o)
739
740 def _getrefnum(self, value):
741 if isinstance(value, _scalars):
742 return self._objtable[(type(value), value)]
743 else:
744 return self._objidtable[id(value)]
745
746 def _write_size(self, token, size):
747 if size < 15:

Callers 2

writeMethod · 0.95
_write_objectMethod · 0.95

Calls 1

idFunction · 0.85

Tested by

no test coverage detected