Skip to content

gh-106318: Add link to str.capitalize on the str.title() docs#144578

Open
adorilson wants to merge 4 commits intopython:mainfrom
adorilson:106318.title
Open

gh-106318: Add link to str.capitalize on the str.title() docs#144578
adorilson wants to merge 4 commits intopython:mainfrom
adorilson:106318.title

Conversation

@adorilson
Copy link
Contributor

@adorilson adorilson commented Feb 7, 2026

WIP to #106318

gh-106318: Add link to str.capitalize on the str.title() docs)


📚 Documentation preview 📚: https://cpython-previews--144578.org.readthedocs.build/

Copy link
Member

@StanFromIreland StanFromIreland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO adding the doctest role here is churny.

@adorilson adorilson changed the title gh-106318: Add doctest role for str.title() examples gh-106318: Add link to str.capitalize on the str.title() docs Mar 1, 2026
@adorilson
Copy link
Contributor Author

IMO adding the doctest role here is churny.

I've removed these changes, keeping only the link to str.capitalize.

"They're Bill's Friends."

See also :meth:`istitle`.
See also :meth:`istitle` and :meth:`capitalize`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation is wrong

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants