Commit 2f19e5d
committed
gh-74366: Fix the documentation of "$" in PyArg_ParseTupleAndKeywords()
The keyword-only arguments are not always optional: they are required if
"|" was not specified before "$". Document also that "|" cannot be
specified after "$", and add examples for "|" and "$".1 parent 4130af1 commit 2f19e5d
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
| 402 | + | |
| 403 | + | |
402 | 404 | | |
403 | 405 | | |
404 | 406 | | |
405 | 407 | | |
406 | | - | |
407 | | - | |
408 | | - | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
409 | 414 | | |
410 | 415 | | |
411 | 416 | | |
| |||
0 commit comments