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

Method __prepare__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected