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

Method f

tests/cloudpickle_test.py:529–530  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

527 def test_instancemethods_without_self(self):
528 class F:
529 def f(self, x):
530 return x + 1
531
532 g = pickle_depickle(F.f, protocol=self.protocol)
533 self.assertEqual(g.__name__, F.f.__name__)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected