Skip to content

Commit 545673b

Browse files
committed
fix usage of lowercase type
1 parent 37dcf79 commit 545673b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

basedtyping/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def __call__(cls: type[T], *args: object, **kwargs: object) -> T:
225225
"""A placeholder ``__call__`` method that gets called when the class is
226226
instantiated directly, instead of first supplying the type parameters.
227227
"""
228-
cls_narrowed = cast(type[ReifiedGeneric[object]], cls)
228+
cls_narrowed = cast(Type[ReifiedGeneric[object]], cls)
229229
if (
230230
# instantiating a ReifiedGeneric without specifying any TypeVars
231231
not hasattr(cls_narrowed, "_orig_type_vars")

0 commit comments

Comments
 (0)