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 @@ -1450,13 +1450,13 @@ The following syntax creates a parameter specification that defaults\n\
14501450to a callable accepting two positional-only arguments of types int\n\
14511451and str:\n\
14521452\n\
1453- type IntFuncDefault[**P = ( int, str) ] = Callable[P, int]\n\
1453+ type IntFuncDefault[**P = [ int, str] ] = Callable[P, int]\n\
14541454\n\
14551455For compatibility with Python 3.11 and earlier, ParamSpec objects\n\
14561456can also be created as follows::\n\
14571457\n\
14581458 P = ParamSpec('P')\n\
1459- DefaultP = ParamSpec('DefaultP', default=( int, str) )\n\
1459+ DefaultP = ParamSpec('DefaultP', default=[ int, str] )\n\
14601460\n\
14611461Parameter specification variables exist primarily for the benefit of\n\
14621462static type checkers. They are used to forward the parameter types of\n\
You can’t perform that action at this time.
0 commit comments