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

Class Function

Lib/test/test_functools.py:521–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519 g_partial = None
520
521 class Function:
522 def __init__(self, name):
523 self.name = name
524
525 def __call__(self):
526 return None
527
528 def __repr__(self):
529 return f"Function({self.name})"
530
531 class EvilObject:
532 def __init__(self):

Callers 2

__repr__Method · 0.70

Calls

no outgoing calls

Tested by 2

__repr__Method · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…