MCPcopy Create free account
hub / github.com/cloudpipe/cloudpickle / _create_registry

Method _create_registry

tests/cloudpickle_test.py:2944–2947  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2942 _original_global = _cloudpickle_testpkg.global_variable
2943
2944 def _create_registry():
2945 _main = __import__("sys").modules["__main__"]
2946 _main._cloudpickle_registry = {}
2947 # global _cloudpickle_registry
2948
2949 def _add_to_registry(v, k):
2950 _main = __import__("sys").modules["__main__"]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected