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

Class Other

Lib/test/test_typing.py:2841–2846  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2839 pass
2840
2841class Other:
2842 attr: int = 1
2843 def meth(self, arg: str) -> int:
2844 if arg == 'this':
2845 return 1
2846 return 0
2847
2848class NT(NamedTuple):
2849 x: int

Callers 1

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…