Skip to content

gh-69619: Link to isspace() in the strip() and split() documentation - #155444

Open
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:gh-69619-bytes-whitespace
Open

gh-69619: Link to isspace() in the strip() and split() documentation#155444
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:gh-69619-bytes-whitespace

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Aug 9, 2026

Copy link
Copy Markdown
Member

str.strip() and friends were linked to str.isspace() in #150021 and #150901, but the byte-sequence methods and the split()/rsplit() methods of both types still said just "whitespace" or "ASCII whitespace" with nothing to follow. Both isspace() methods define the term -- a Unicode-database rule for str, the six byte values for bytes -- so the word itself now links there.

…ation

The methods that default to removing or splitting on whitespace now link
to str.isspace() and bytes.isspace(), where whitespace is defined.
@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news labels Aug 9, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Aug 9, 2026
@serhiy-storchaka serhiy-storchaka added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Aug 9, 2026
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33982661 | 📁 Comparing 92a6c3d against main (b5c74a6)

  🔍 Preview build  

1 file changed
± library/stdtypes.html

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

Labels

awaiting core review docs Documentation in the Doc dir needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant