Commit edc0f6d
context_management: use ParamSpec from typing_extensions (#466)
context_management: use ParamSpec from typing_extensions
Python < 3.10 does not have ParamSpec, so we need to import it from typing_extensions.
Fixes #457
RELEASE NOTES BEGIN
The context_management type stubs now use ParamSpec from typing_extensions to support Python < 3.10.
RELEASE NOTES END
Reviewed-by: Nikola Forró
Reviewed-by: Maxwell G2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
0 commit comments