Skip to content

Commit b4881f9

Browse files
committed
move comment
1 parent 61efa79 commit b4881f9

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
@@ -249,9 +249,9 @@ def __call__(cls, *args: object, **kwargs: object) -> T:
249249

250250

251251
class ReifiedGeneric(
252+
Generic[T],
252253
# mypy doesn't support metaclasses with generics but it's needed for pyrright to correctly type the `__call__
253254
# return type, otherwise all instances of `ReifiedGeneric` will have the wrong type
254-
Generic[T],
255255
metaclass=_ReifiedGenericMetaclass[Self], # type:ignore[misc]
256256
):
257257
"""A ``Generic`` where the type parameters are available at runtime and is

0 commit comments

Comments
 (0)