[Zope-Checkins] CVS: Zope/lib/python/Products/PythonScripts/help - standard.py:1.4

R. David Murray bitz@bitdance.com
Wed, 14 Aug 2002 12:42:29 -0400


Update of /cvs-repository/Zope/lib/python/Products/PythonScripts/help
In directory cvs.zope.org:/tmp/cvs-serv32435

Modified Files:
	standard.py 
Log Message:
Fix references to urllib docs, and clarify action of unquote to
match those docs.


=== Zope/lib/python/Products/PythonScripts/help/standard.py 1.3 => 1.4 ===
--- Zope/lib/python/Products/PythonScripts/help/standard.py:1.3	Wed Aug 14 11:46:58 2002
+++ Zope/lib/python/Products/PythonScripts/help/standard.py	Wed Aug 14 12:42:29 2002
@@ -53,7 +53,7 @@
 
        "Python 'urllib'
        module":http://www.python.org/doc/current/lib/module-urllib.html
-       'url_quote' function.
+       'quote' function.
 
     """
 
@@ -66,30 +66,33 @@
 
       "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):