This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vapier
Recipients Allen Li, docs@python, vapier
Date 2017-10-19.19:24:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1508441060.2.0.213398074469.issue31822@psf.upfronthosting.co.za>
In-reply-to
Content
specifically, the docs for these classes:
https://docs.python.org/2/library/urlparse.html#results-of-urlparse-and-urlsplit
https://docs.python.org/3/library/urllib.parse.html#urlparse-result-object

> The result objects from the urlparse() and urlsplit() functions are subclasses
> of the tuple type. These subclasses add the attributes described in those
> functions, as well as provide an additional method:
> ...
> class urlparse.SplitResult(scheme, netloc, path, query, fragment)
>   Concrete class for urlsplit() results.

changing "subclasses of the tuple type" to "subclasses of collections.namedtuples" would be great.  also adding hints to use _replace to update values would be great :).
History
Date User Action Args
2017-10-19 19:24:20vapiersetrecipients: + vapier, docs@python, Allen Li
2017-10-19 19:24:20vapiersetmessageid: <1508441060.2.0.213398074469.issue31822@psf.upfronthosting.co.za>
2017-10-19 19:24:20vapierlinkissue31822 messages
2017-10-19 19:24:20vapiercreate