MCPcopy Create free account
hub / github.com/dabeaz-course/python-mastery / __prepare__

Method __prepare__

Solutions/9_4/structly/structure.py:10–11  ·  view source on GitHub ↗
(meta, clsname, bases)

Source from the content-addressed store, hash-verified

8class StructureMeta(type):
9 @classmethod
10 def __prepare__(meta, clsname, bases):
11 return ChainMap({}, Validator.validators)
12
13 @staticmethod
14 def __new__(meta, name, bases, methods):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected