Skip to content

Typo in urllib.parse docs: Incorrect parameter name #120896

@perey

Description

@perey

The “Changed in version 3.3” note to urllib.parse.urlparse() refers to allow_fragment. The correct name for this parameter is allow_fragments, plural.

A minor typo in an out-of-the-way part of the documentation, but it still managed to trip me up when I used the name from there, not from the function signature! 🤦

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions