Skip to content

Commit 111dfa3

Browse files
committed
Fix a small error in registry pattern.
1 parent 5a35ad2 commit 111dfa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class and the associated value, the class itself.
3131

3232
if __name__ == "__main__":
3333
print("Before subclassing: ")
34-
for k in RegistryHolder.REGISTRY.keys():
34+
for k in RegistryHolder.REGISTRY:
3535
print(k)
3636

3737
class ClassRegistree(BaseRegisteredClass):

0 commit comments

Comments
 (0)