GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-106318: Add link to str.capitalize on the str.title() docs by adorilson · Pull Request #144578 · python/cpython

Conversation

@adorilson

@adorilson adorilson commented Feb 7, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

WIP to #106318

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

  • Issue: Add examples to docs for str methods #106318

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@adorilson
pythongh-106318: Add doctest role for str.title() examples
c617374
@bedevere-app bedevere-app Bot added the awaiting review label Feb 7, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Feb 7, 2026
Add examples to docs for str methods #106318
Open
@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news labels Feb 7, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Feb 7, 2026
@github-project-automation github-project-automation Bot added this to Docs PRs Feb 7, 2026
StanFromIreland
StanFromIreland reviewed Feb 7, 2026
View reviewed changes

@StanFromIreland StanFromIreland left a comment

Copy link
Copy Markdown
Member

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.

IMO adding the doctest role here is churny.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
adorilson added 2 commits March 1, 2026 18:29
@adorilson
Revert "pythongh-106318: Add doctest role for str.title() examples"
0fba007
This reverts commit c617374.
@adorilson
pythongh-106318: Add link to str.capitalize on the str.title() docs
b4c0646
@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

adorilson commented Mar 1, 2026

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

StanFromIreland
StanFromIreland reviewed Mar 1, 2026
View reviewed changes
Comment thread Doc/library/stdtypes.rst Outdated
"They're Bill's Friends."

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

@StanFromIreland StanFromIreland Mar 1, 2026

Copy link
Copy Markdown
Member

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.

The indentation is wrong

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@adorilson adorilson Mar 1, 2026

Copy link
Copy Markdown
Contributor Author

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.

Fixed.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@adorilson
gh106318: Fix wrong indentation on str.title() docs
7b02fbb
@adorilson
adorilson requested a review from StanFromIreland March 1, 2026 19:36
@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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label May 6, 2026
@encukou
Merge in the main branch
d145549
@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

Uh oh!

There was an error while loading. Please reload this page.

@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Nov 4, 2026
@bedevere-app bedevere-app Bot removed the awaiting review label Nov 4, 2026
@miss-islington-app

miss-islington-app Bot commented Nov 4, 2026

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.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@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
@miss-islington @adorilson
[3.14] gh-106318: Add link to str.capitalize on the str.title() docs (G…
bd3c561
…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 <[email protected]>
asvetlov pushed a commit that referenced this pull request Nov 5, 2026
@miss-islington @adorilson
[3.15] gh-106318: Add link to str.capitalize on the str.title() docs (G…
61c0928
…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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@StanFromIreland StanFromIreland Awaiting requested review from StanFromIreland

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

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

Projects

Docs PRs
Status: Done

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@adorilson @StanFromIreland @encukou
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.