Skip to content

extra space in the str.split doc #96056

Closed
@YousufSMahmoud

Description

@YousufSMahmoud

Documentation

https://docs.python.org/3/library/stdtypes.html#str.split

in the doc its written str.split(sep=None, maxsplit=- 1) an extra space after -
which is legal but not the best practices,
I would like if you could fix it to
str.split(sep=None, maxsplit= -1)

so instead of ```- 1``` it became ```-1```

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions