Message119855
| Author |
belopolsky |
| Recipients |
belopolsky, docs@python |
| Date |
2010年10月29日.05:26:02 |
| SpamBayes Score |
0.00015741009 |
| Marked as misclassified |
No |
| Message-id |
<1288329966.05.0.0344146922962.issue10226@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The following example in Doc/library/urlparse.rst is wrong
>>> urlparse('www.cwi.nl:80/%7Eguido/Python.html')
ParseResult(scheme='', netloc='', path='www.cwi.nl:80/%7Eguido/Python.html',
params='', query='', fragment='')
In the actual output, scheme='www.cwi.nl'.
In addition, the preceding text is confusing and probably not grammatical:
"""
Otherwise, it is not possible to distinguish between netloc and path components, and would the indistinguishable component would be classified as the path as in a relative URL.
"""
Discovered while working on issue 10225. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年10月29日 05:26:06 | belopolsky | set | recipients:
+ belopolsky, docs@python |
| 2010年10月29日 05:26:06 | belopolsky | set | messageid: <1288329966.05.0.0344146922962.issue10226@psf.upfronthosting.co.za> |
| 2010年10月29日 05:26:04 | belopolsky | link | issue10226 messages |
| 2010年10月29日 05:26:03 | belopolsky | create |
|