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

Method temp

Lib/multiprocessing/managers.py:727–736  ·  view source on GitHub ↗
(self, /, *args, **kwds)

Source from the content-addressed store, hash-verified

725
726 if create_method:
727 def temp(self, /, *args, **kwds):
728 util.debug('requesting creation of a shared %r object', typeid)
729 token, exp = self._create(typeid, *args, **kwds)
730 proxy = proxytype(
731 token, self._serializer, manager=self,
732 authkey=self._authkey, exposed=exp
733 )
734 conn = self._Client(token.address, authkey=self._authkey)
735 dispatch(conn, None, 'decref', (token.id,))
736 return proxy
737 temp.__name__ = typeid
738 setattr(cls, typeid, temp)
739

Callers

nothing calls this directly

Calls 3

_createMethod · 0.95
dispatchFunction · 0.70
debugMethod · 0.45

Tested by

no test coverage detected