File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1175,13 +1175,13 @@ The following syntax creates a parameter specification that defaults\n\
11751175to a callable accepting two positional-only arguments of types int\n\
11761176and str:\n\
11771177\n\
1178- type IntFuncDefault[**P = ( int, str) ] = Callable[P, int]\n\
1178+ type IntFuncDefault[**P = [ int, str] ] = Callable[P, int]\n\
11791179\n\
11801180For compatibility with Python 3.11 and earlier, ParamSpec objects\n\
11811181can also be created as follows::\n\
11821182\n\
11831183 P = ParamSpec('P')\n\
1184- DefaultP = ParamSpec('DefaultP', default=( int, str) )\n\
1184+ DefaultP = ParamSpec('DefaultP', default=[ int, str] )\n\
11851185\n\
11861186Parameter specification variables exist primarily for the benefit of\n\
11871187static type checkers. They are used to forward the parameter types of\n\
You can’t perform that action at this time.
0 commit comments