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

Class REX

Lib/test/picklecommon.py:116–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 return self.reduce
115
116class REX:
117 def __init__(self, reduce_ex=None):
118 self.reduce_ex = reduce_ex
119 def __reduce_ex__(self, proto):
120 return self.reduce_ex
121
122class REX_one(object):
123 """No __reduce_ex__ here, but inheriting it from object"""

Calls

no outgoing calls