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

Method temp

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

_createMethod · 0.95
dispatchFunction · 0.70
debugMethod · 0.45

Tested by

no test coverage detected