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

Method _getrefnum

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

Source from the content-addressed store, hash-verified

745 self._flatten(o)
746
747 def _getrefnum(self, value):
748 if isinstance(value, _scalars):
749 return self._objtable[(type(value), value)]
750 else:
751 return self._objidtable[id(value)]
752
753 def _write_size(self, token, size):
754 if size < 15:

Callers 2

writeMethod · 0.95
_write_objectMethod · 0.95

Calls 2

isinstanceFunction · 0.85
idFunction · 0.85

Tested by

no test coverage detected