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

Function constructor

Lib/copyreg.py:22–24  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

20 constructor(constructor_ob)
21
22def constructor(object):
23 if not callable(object):
24 raise TypeError("constructors must be callable")
25
26# Example: provide pickling support for complex numbers.
27

Callers 15

pickleFunction · 0.85
__init__Method · 0.85
test_clinic_signatureMethod · 0.85
check_blake2Method · 0.85
blake2_rfc7693Method · 0.85
test_readonly_typesMethod · 0.85

Calls

no outgoing calls

Tested by 15

__init__Method · 0.68
test_clinic_signatureMethod · 0.68
check_blake2Method · 0.68
blake2_rfc7693Method · 0.68
test_readonly_typesMethod · 0.68
test_keywordsMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…