Skip to content

gh-106318: Add examples for str.isspace() docs#145399

Merged
hugovk merged 1 commit intopython:mainfrom
adorilson:106318.isspace
Mar 10, 2026
Merged

gh-106318: Add examples for str.isspace() docs#145399
hugovk merged 1 commit intopython:mainfrom
adorilson:106318.isspace

Conversation

@adorilson
Copy link
Contributor

@adorilson adorilson commented Mar 1, 2026

WIP to #106318

#106318: Add examples for str.isspace() docs


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

("Separator, space"), or its bidirectional class is one of ``WS``,
``B``, or ``S``.

See also :meth:`isprintable`.
Copy link
Contributor

Choose a reason for hiding this comment

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

I would remove the reference to isprintable here (and the reference to isspace in the docs on isprintable as well).

Copy link
Member

Choose a reason for hiding this comment

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

Ah? IMO the two methods are related and it's useful to link them together in the doc.

Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

LGTM

@hugovk hugovk added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Mar 10, 2026
@hugovk hugovk merged commit 9585f50 into python:main Mar 10, 2026
47 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Mar 10, 2026
@miss-islington-app
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 10, 2026
(cherry picked from commit 9585f50)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 10, 2026
(cherry picked from commit 9585f50)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Mar 10, 2026

GH-145752 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 Mar 10, 2026
@bedevere-app
Copy link

bedevere-app bot commented Mar 10, 2026

GH-145753 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Mar 10, 2026
hugovk pushed a commit that referenced this pull request Mar 10, 2026
…45752)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
hugovk pushed a commit that referenced this pull request Mar 10, 2026
…45753)

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

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants