New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-44175: Update docs for str title, istitle methods #26865
base: main
Are you sure you want to change the base?
bpo-44175: Update docs for str title, istitle methods #26865
Conversation
Also add a footnote with a wikipedia link to "title case".
This PR is stale because it has been open for 30 days with no activity. |
The style of these footnotes was broken in this way since py 3.6; for example look at current dev version: https://docs.python.org/3.11/library/stdtypes.html |
Doc/library/stdtypes.rst
Outdated
.. note:: | ||
|
||
This method is different from the standard publishing definition | ||
of a title cased text fragment in which minor words would not be capitalized [6]_. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: currently 'titlecased' is used instead of 'title cased' (or 'title-cased' for that matter), so I think picking either one and making it consistent throughout would be good.
https://bugs.python.org/issue44175