R. David Murray <rdmur...@bitdance.com> added the comment:

The repr gives the primary components defined by the URL.  The subfields are 
provided as attributes of the result.  This is documented in the example at the 
top of the chapter, but it is not, IMO, well documented in the rest of the 
chapter.

I'm not sure when this feature was introduced, so I'm leaving 3.1 in the 
versions for now.

----------
assignee:  -> d...@python
components: +Documentation -Library (Lib)
nosy: +d...@python, orsenthil, r.david.murray
stage:  -> needs patch
title: port not split in function urllib.parse.urlparse -> host and port 
attributes not documented well in function urllib.parse.urlparse and urlsplit
versions: +Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10697>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to