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

Method __new__

Lib/test/test_descr.py:655–657  ·  view source on GitHub ↗
(mcls, name, bases, ns)

Source from the content-addressed store, hash-verified

653 class AMeta(type):
654 @staticmethod
655 def __new__(mcls, name, bases, ns):
656 new_calls.append('AMeta')
657 return super().__new__(mcls, name, bases, ns)
658 @classmethod
659 def __prepare__(mcls, name, bases):
660 return {}

Callers

nothing calls this directly

Calls 3

superClass · 0.85
appendMethod · 0.45
__new__Method · 0.45

Tested by

no test coverage detected