# HG changeset patch # User drewp@bigasterisk.com # Date 1684437451 25200 # Node ID 32f7064241eb6b09e05859e6c02b537e9a9ffe6b # Parent e69661cca1cbac201d240ce9a90f81c7f5440fdc c2 diff -r e69661cca1cb -r 32f7064241eb light9/newtypes.py --- a/light9/newtypes.py Thu May 18 11:56:28 2023 -0700 +++ b/light9/newtypes.py Thu May 18 12:17:31 2023 -0700 @@ -27,7 +27,7 @@ def _isSubclass2(t1: Type, t2: Type) -> bool: """same as issubclass but t1 can be a NewType""" if hasattr(t1, '__supertype__'): - t1 = t1.__superType__ + t1 = t1.__supertype__ return issubclass(t1, t2)