[wwwsearch-commits] r44215 - wwwsearch/mechanize/trunk/mechanize

jjlee at codespeak.net jjlee at codespeak.net
Tue Jun 12 23:40:20 CEST 2007


Author: jjlee
Date: Tue Jun 12 23:40:20 2007
New Revision: 44215

Modified:
   wwwsearch/mechanize/trunk/mechanize/_mechanize.py
Log:
Fix docstring typo and remove empty docstring

Modified: wwwsearch/mechanize/trunk/mechanize/_mechanize.py
==============================================================================
--- wwwsearch/mechanize/trunk/mechanize/_mechanize.py	(original)
+++ wwwsearch/mechanize/trunk/mechanize/_mechanize.py	Tue Jun 12 23:40:20 2007
@@ -379,7 +379,7 @@
 
         The cookie is added in the same way as if it had arrived with the
         current response, as a result of the current request.  This means that,
-        for example, it is not appropriate to set the cookie based on the
+        for example, if it is not appropriate to set the cookie based on the
         current request, no cookie will be set.
 
         The cookie will be returned automatically with subsequent responses
@@ -452,7 +452,6 @@
         return self._factory.is_html
 
     def encoding(self):
-        """"""
         if self._response is None:
             raise BrowserStateError("not viewing any document")
         return self._factory.encoding


More information about the wwwsearch-commits mailing list