-
- Notifications
You must be signed in to change notification settings - Fork 33.5k
Closed
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
The documentation for urllib.parse.urlparse states that:
The return value is a named tuple, which means that its items can be accessed by index or as named attributes, which are:
Attribute Index Value Value if not present ... params 3 No longer used always an empty string
However it seems that the documentation does not reflect reality:
>>> >>> import urllib.parse >>> p = urllib.parse.urlparse('http://foo.test/test;param') >>> p ParseResult(scheme='http', netloc='foo.test', path='/test', params='param', query='', fragment='') >>> p[3] 'param' and the returned named tuple has a populated params field.
CaselIT and xmo-odoo
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir