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

Method generic

Lib/test/test_functools.py:3076–3077  ·  view source on GitHub ↗
(self, x: object)

Source from the content-addressed store, hash-verified

3074 class C:
3075 @functools.singledispatchmethod
3076 def generic(self, x: object):
3077 return "generic"
3078
3079 @generic.register
3080 def special1(self, x: int):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected