We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5d02ab commit a339177Copy full SHA for a339177
1 file changed
lessons/intro/magic/index.md
@@ -655,6 +655,7 @@ class IterableMeta(type):
655
def __init__(cls, name, bases, namespace):
656
cls.items = sorted(n for n in namespace
657
if not n.startswith('__'))
658
+ super().__init__(name, bases, namespace)
659
660
def __iter__(cls):
661
return iter(cls.items)
@@ -708,6 +709,7 @@ class OrderRememberingMeta(type):
708
709
710
711
cls.items = list(namespace)
712
713
714
715
0 commit comments