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