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

Method __reduce__

Lib/multiprocessing/process.py:354–361  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

352
353class AuthenticationString(bytes):
354 def __reduce__(self):
355 from .context import get_spawning_popen
356 if get_spawning_popen() is None:
357 raise TypeError(
358 'Pickling an AuthenticationString object is '
359 'disallowed for security reasons'
360 )
361 return AuthenticationString, (bytes(self),)
362
363
364#

Callers

nothing calls this directly

Calls 1

get_spawning_popenFunction · 0.85

Tested by

no test coverage detected