Commit 3f6571d
committed
gh-143089: Fix ParamSpec docstring to use list syntax instead of tuple
Type checkers (mypy and pyright) require ParamSpec defaults to use
list syntax, not tuple syntax. Updated the docstring examples to
use [int, str] instead of (int, str) to match the typing specification
and avoid misleading users.1 parent daa9aa4 commit 3f6571d
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1451 | 1451 | | |
1452 | 1452 | | |
1453 | 1453 | | |
1454 | | - | |
| 1454 | + | |
1455 | 1455 | | |
1456 | 1456 | | |
1457 | 1457 | | |
1458 | 1458 | | |
1459 | 1459 | | |
1460 | | - | |
| 1460 | + | |
1461 | 1461 | | |
1462 | 1462 | | |
1463 | 1463 | | |
| |||
0 commit comments