MCPcopy
hub / github.com/django/django / __reduce__

Method __reduce__

django/utils/functional.py:327–330  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

325 # will pickle it normally, and then the unpickler simply returns its
326 # argument.
327 def __reduce__(self):
328 if self._wrapped is empty:
329 self._setup()
330 return (unpickle_lazyobject, (self._wrapped,))
331
332 def __copy__(self):
333 if self._wrapped is empty:

Callers

nothing calls this directly

Calls 1

_setupMethod · 0.95

Tested by

no test coverage detected