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
The “Changed in version 3.3” note to
urllib.parse.urlparse()refers toallow_fragment. The correct name for this parameter isallow_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
urllib.parse.urlparse()#120898urllib.parse.urlparse()(GH-120898) #120902urllib.parse.urlparse()(GH-120898) #120903