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

Class MyModule

Lib/test/test_pydoc/test_pydoc.py:2377–2383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2375 import warnings
2376
2377 class MyModule:
2378 __name__ = 'my_module'
2379
2380 @property
2381 def __version__(self):
2382 warnings._deprecated("__version__", remove=(3, 20))
2383 return "1.2.3"
2384
2385 module = MyModule()
2386 doc = pydoc.Doc()

Callers 1

test__get_versionMethod · 0.85

Calls

no outgoing calls

Tested by 1

test__get_versionMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…