Skip to content

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

Open
adorilson wants to merge 1 commit intopython:mainfrom
adorilson:106318.isspace
Open

gh-106318: Add examples for str.isspace() docs#145399
adorilson wants to merge 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

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

Labels

awaiting merge docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

3 participants