Skip to content

string split documentation unclear #133986

Closed
@tml

Description

@tml

Documentation

If sep is not specified or is None and maxsplit is 0, only leading runs of consecutive whitespace are considered. This is contrary to (or, at least, underspecified in) the current documentation.

Linked PRs

Activity

added
docsDocumentation in the Doc dir
on May 14, 2025
added a commit that references this issue on May 14, 2025

gh-133986: Document string split algorithm when sep is None and maxsp…

3e23047
added a commit that references this issue on May 14, 2025

pythongh-133986: Document string split algorithm when sep is None and…

added 2 commits that reference this issue on May 15, 2025

[3.14] gh-133986: Document string split algorithm when sep is None an…

b6299e8

[3.13] gh-133986: Document string split algorithm when sep is None an…

bd3add0

2 remaining items

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      string split documentation unclear · Issue #133986 · python/cpython

      Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

      Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant