| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| .. function:: gettext(msg, /) | ||
| .. function:: dgettext(domain, msg, /) | ||
| .. function:: dcgettext(domain, msg, category, /) | ||
| .. function:: textdomain(domain, /) | ||
| .. function:: bindtextdomain(domain, dir, /) | ||
| .. function:: bind_textdomain_codeset(domain, codeset, /) |
There was a problem hiding this comment.
I'm not sure if these / args do much to clarify here, shall we revert this bit? I don't think it fixed any warnings?
Sorry, something went wrong.
There was a problem hiding this comment.
Actual functions in locale do not accept keyword args, only pos-only ones. I think that the docs should reflect that. Why do you think that / is not helpful here?
Sorry, something went wrong.
There was a problem hiding this comment.
We have many function signatures in docs that do not reflect the exact technical reality of the code, but instead simplify them, for readability, brevity, and simplicity.
Sorry, something went wrong.
…honGH-114425) * pythongh-101100: Fix sphinx warnings in `Doc/library/locale.rst` * Remove `/` from signatures (cherry picked from commit 7d21cae) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
…honGH-114425) * pythongh-101100: Fix sphinx warnings in `Doc/library/locale.rst` * Remove `/` from signatures (cherry picked from commit 7d21cae) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
GH-114477 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
|
GH-114478 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
|
Thank you! 🧹📚 |
Sorry, something went wrong.
…hon#114425) * pythongh-101100: Fix sphinx warnings in `Doc/library/locale.rst` * Remove `/` from signatures
…hon#114425) * pythongh-101100: Fix sphinx warnings in `Doc/library/locale.rst` * Remove `/` from signatures
| Back | FazBrowse Home | New Git URL |
Before:
📚 Documentation preview 📚: https://cpython-previews--114425.org.readthedocs.build/