Skip to content

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

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

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

Conversation

@adorilson

@adorilsonadorilson commented Feb 7, 2026

Copy link
Copy Markdown
Contributor

WIP to #106318

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


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

@StanFromIrelandStanFromIreland left a comment

Copy link
Copy Markdown
Member

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.

@adorilsonadorilson changed the title gh-106318: Add doctest role for str.title() examplesgh-106318: Add link to str.capitalize on the str.title() docsMar 1, 2026
@adorilson

Copy link
Copy Markdown
ContributorAuthor

IMO adding the doctest role here is churny.

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

Comment threadDoc/library/stdtypes.rst Outdated
"They're Bill's Friends."

See also :meth:`istitle`.
See also :meth:`istitle` and :meth:`capitalize`.

Copy link
Copy Markdown
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
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Fixed.

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actionsgithub-actionsBot added the stale Stale PR or inactive for long period of time. label May 6, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting reviewdocsDocumentation in the Doc dirskip newsstaleStale PR or inactive for long period of time.

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants

@adorilson@StanFromIreland