Skip to content

Commit 4644a42

Browse files
committed
put back TypeVar default
1 parent 582f306 commit 4644a42

File tree

1 file changed

+4
-1
lines changed
  • hypothesis-python/src/hypothesis/strategies/_internal

1 file changed

+4
-1
lines changed

hypothesis-python/src/hypothesis/strategies/_internal/strategies.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@
5555
if TYPE_CHECKING:
5656
from typing import TypeAlias
5757

58-
Ex = TypeVar("Ex", covariant=True)
58+
Ex = TypeVar("Ex", covariant=True, default=Any)
59+
else:
60+
Ex = TypeVar("Ex", covariant=True)
61+
5962
T = TypeVar("T")
6063
T3 = TypeVar("T3")
6164
T4 = TypeVar("T4")

0 commit comments

Comments
 (0)