Python: Add cloudpickle model

This one didn't seem to fit into the subclass approach, so I just modeled
it manually.
This commit is contained in:
Taus
2023-10-13 11:18:06 +00:00
committed by Rasmus Wriedt Larsen
parent 5920a8fad6
commit 6261a94986

View File

@@ -1298,7 +1298,7 @@ module StdlibPrivate {
// pickle
// ---------------------------------------------------------------------------
/** Gets a reference to any of the `pickle` modules. */
API::Node pickle() { result = API::moduleImport(["pickle", "cPickle", "_pickle"]) }
API::Node pickle() { result = API::moduleImport(["pickle", "cPickle", "_pickle", "cloudpickle"]) }
/**
* A call to `pickle.load`