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

Function signature

Lib/test/test_functools.py:54–56  ·  view source on GitHub ↗

return the signature of a partial object

(part)

Source from the content-addressed store, hash-verified

52
53
54def signature(part):
55 """ return the signature of a partial object """
56 return (part.func, part.args, part.keywords, part.__dict__)
57
58class MyTuple(tuple):
59 pass

Callers 6

test_pickleMethod · 0.70
test_copyMethod · 0.70
test_deepcopyMethod · 0.70
test_setstateMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…