diff --git a/koerce/annots.py b/koerce/annots.py index 092a787..3c3a8ca 100644 --- a/koerce/annots.py +++ b/koerce/annots.py @@ -838,7 +838,7 @@ def __call__(cls, *args, **kwargs): class Singleton(Abstract): """Cache instances of the class based on instantiation arguments.""" - __instances__: Mapping[Any, Self] = WeakValueDictionary() + __instances__: Mapping[Any, typing.Self] = WeakValueDictionary() __slots__ = ("__weakref__",)