Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
172e06e0
Commit
172e06e0
authored
May 25, 2010
by
R. David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue 8818: urlparse/urlsplit keyword is 'scheme', not 'default_scheme'.
parent
bfbdefe5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Doc/library/urlparse.rst
Doc/library/urlparse.rst
+3
-3
No files found.
Doc/library/urlparse.rst
View file @
172e06e0
...
...
@@ -36,7 +36,7 @@ following URL schemes: ``file``, ``ftp``, ``gopher``, ``hdl``, ``http``,
The :mod:`urlparse` module defines the following functions:
.. function:: urlparse(urlstring[,
default_
scheme[, allow_fragments]])
.. function:: urlparse(urlstring[, scheme[, allow_fragments]])
Parse a URL into six components, returning a 6-tuple. This corresponds to the
general structure of a URL: ``scheme://netloc/path;parameters?query#fragment``.
...
...
@@ -58,7 +58,7 @@ The :mod:`urlparse` module defines the following functions:
>>> o.geturl()
'http://www.cwi.nl:80/%7Eguido/Python.html'
If the *
default_
scheme* argument is specified, it gives the default addressing
If the *scheme* argument is specified, it gives the default addressing
scheme, to be used only if the URL does not specify one. The default value for
this argument is the empty string.
...
...
@@ -161,7 +161,7 @@ The :mod:`urlparse` module defines the following functions:
equivalent).
.. function:: urlsplit(urlstring[,
default_
scheme[, allow_fragments]])
.. function:: urlsplit(urlstring[, scheme[, allow_fragments]])
This is similar to :func:`urlparse`, but does not split the params from the URL.
This should generally be used instead of :func:`urlparse` if the more recent URL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment