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

Method __new__

Lib/test/test_descr.py:739–741  ·  view source on GitHub ↗
(mcls, *args, **kwargs)

Source from the content-addressed store, hash-verified

737 return {}
738 class BNotMeta(ANotMeta):
739 def __new__(mcls, *args, **kwargs):
740 new_calls.append('BNotMeta')
741 return super().__new__(mcls)
742 @classmethod
743 def __prepare__(mcls, name, bases):
744 prepare_calls.append('BNotMeta')

Callers

nothing calls this directly

Calls 3

superClass · 0.85
appendMethod · 0.45
__new__Method · 0.45

Tested by

no test coverage detected