Skip to content

Commit

Permalink
Fix references to urllib docs, and clarify action of unquote to
Browse files Browse the repository at this point in the history
match those docs.
  • Loading branch information
bitdancer committed Aug 14, 2002
1 parent a0dd070 commit b48a80b
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions help/standard.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def url_quote(s):
"Python 'urllib'
module":http://www.python.org/doc/current/lib/module-urllib.html
'url_quote' function.
'quote' function.
"""

Expand All @@ -66,30 +66,33 @@ def url_quote_plus(s):
"Python 'urllib'
module":http://www.python.org/doc/current/lib/module-urllib.html
'url_quote_plus' function.
'quote_plus' function.
"""

def url_unquote(s):
"""
Convert HTML character entities in strings back to their real values.
Convert HTML %xx character entities into the characters they
represent. (Undoes the affects of url_quote).
See Also
"Python 'urllib'
module":http://www.python.org/doc/current/lib/module-urllib.html
'url_unquote' function.
"Python 'urllib'
module":http://www.python.org/doc/current/lib/module-urllib.html
'unquote' function.
"""
def url_unquote(s):

def url_unquote_plus(s):
"""
Like url_unquote, but also replace '+' characters with spaces.
Like url_unquote but also replace '+' characters with blank spaces.
See Also
See Also
"Python 'urllib'
module":http://www.python.org/doc/current/lib/module-urllib.html
'url_unquote_plus' function.
'unquote_plus' function.
"""

def newline_to_br(s):
Expand Down

0 comments on commit b48a80b

Please sign in to comment.