| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…ywords() 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 "$".
Documentation build overview1 file changed ± c-api/arg.html |
Sorry, something went wrong.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15. |
Sorry, something went wrong.
|
GH-155308 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
|
GH-155309 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
|
GH-155310 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
…eywords() (GH-155301) (GH-155310) 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 "$". (cherry picked from commit af930c1) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…eywords() (GH-155301) (GH-155309) 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 "$". (cherry picked from commit af930c1) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…ywords() (pythonGH-155301) 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 "$".
| Back | FazBrowse Home | New Git URL |
The documentation says that all keyword-only arguments must also be optional, so | must always be specified before $. This has never been true: if | is not specified before $, the keyword-only arguments are required. The wording dates back to the addition of $ in 3.3 (bpo-14328) and has not been touched since.
Document also that | cannot be specified after $, and add examples of format strings with the corresponding Python signatures.