Home | History | Annotate | Download | only in Lib

Lines Matching refs:new_class

1198     # We use `types.new_class()` instead of simply `type()` to allow dynamic creation
1200 cls = types.new_class(cls_name, bases, {}, lambda ns: ns.update(namespace))