Skip to content

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

Merged
encukou merged 5 commits into
python:mainfrom
adorilson:106318.title
Nov 4, 2026
Merged

encukou merged 5 commits into
python:mainfrom
adorilson:106318.title

Conversation

@adorilson

@adorilson adorilson 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/

@StanFromIreland StanFromIreland 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.

@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
Copy Markdown
Contributor Author

IMO adding the doctest role here is churny.

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

Comment thread Doc/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
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@github-actions

github-actions Bot commented May 6, 2026

Copy link
Copy Markdown

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

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label May 6, 2026
@encukou encukou added needs backport to 3.15 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Nov 4, 2026
@encukou
encukou enabled auto-merge (squash) November 4, 2026 16:35
@encukou
encukou disabled auto-merge November 4, 2026 16:35
@encukou
encukou enabled auto-merge (squash) November 4, 2026 16:35
@encukou
encukou merged commit e6dda5f into python:main Nov 4, 2026
33 of 34 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Nov 4, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @adorilson for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Nov 4, 2026

Copy link
Copy Markdown

GH-161328 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Nov 4, 2026
@bedevere-app

bedevere-app Bot commented Nov 4, 2026

Copy link
Copy Markdown

GH-161329 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Nov 4, 2026
asvetlov pushed a commit that referenced this pull request Nov 5, 2026
…H-144578) (#161329)

gh-106318: Add link to str.capitalize on the str.title() docs (GH-144578)
(cherry picked from commit e6dda5f)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
asvetlov pushed a commit that referenced this pull request Nov 5, 2026
…H-144578) (#161328)

gh-106318: Add link to str.capitalize on the str.title() docs (GH-144578)
(cherry picked from commit e6dda5f)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news stale Stale PR or inactive for long period of time.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants