sushma <[email protected]> added the comment:
I guess what I'm wondering is this:
urlsplit(url, scheme='', allow_fragments=True)
Parse a URL into 5 components:
<scheme>://<netloc>/<path>?<query>#<fragment>
Return a 5-tuple: (scheme, netloc, path, query, fragment).
Note that we don't break the components up in smaller bits
(e.g. netloc is a single string) and we don't expand % escapes.
(END)
We don't have details regarding anything, i.e scheme, netloc, path or query or
fragments. So I was curious about why we would have more documentation around
netloc and scheme and nothing about path and query
Should we be adding information for all(scheme, netloc, path, query, fragment)
of them, including extra attributes of the returned SplitResult?
p.s - newbie trying to contribute here
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue37970>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com