mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 10:26:02 +00:00 
			
		
		
		
	Wording fix.
This commit is contained in:
		
							parent
							
								
									1c29ddd0d0
								
							
						
					
					
						commit
						8e27fcea07
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		|  | @ -48,11 +48,11 @@ The :mod:`urllib.parse` module defines the following functions: | ||||||
|       >>> o.geturl() |       >>> o.geturl() | ||||||
|       'http://www.cwi.nl:80/%7Eguido/Python.html' |       'http://www.cwi.nl:80/%7Eguido/Python.html' | ||||||
| 
 | 
 | ||||||
|    If the scheme value is not specified, urlparse following the syntax |    If the scheme value is not specified, urlparse expects the netloc value to | ||||||
|    specifications from RFC 1808, expects the netloc value to start with '//', |    start with '//', following the syntax specifications from :rfc:`1808`. | ||||||
|    Otherwise, it is not possible to distinguish between net_loc and path |    Otherwise, it is not possible to distinguish between netloc and path | ||||||
|    component and would classify the indistinguishable component as path as in |    components, and would the indistinguishable component would be classified | ||||||
|    a relative url. |    as the path as in a relative URL. | ||||||
| 
 | 
 | ||||||
|        >>> from urlparse import urlparse |        >>> from urlparse import urlparse | ||||||
|        >>> urlparse('//www.cwi.nl:80/%7Eguido/Python.html') |        >>> urlparse('//www.cwi.nl:80/%7Eguido/Python.html') | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Georg Brandl
						Georg Brandl