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

Method __new__

Lib/typing.py:623–626  ·  view source on GitHub ↗
(cls, *args, **kwargs)

Source from the content-addressed store, hash-verified

621 """
622
623 def __new__(cls, *args, **kwargs):
624 if cls is Any:
625 raise TypeError("Any cannot be instantiated")
626 return super().__new__(cls)
627
628
629@_SpecialForm

Callers 4

__new__Method · 0.45
typing.pyFile · 0.45
__new__Method · 0.45
__new__Method · 0.45

Calls 1

superClass · 0.85

Tested by

no test coverage detected