[wwwsearch-commits] r45426 - wwwsearch/mechanize/trunk/mechanize
jjlee at codespeak.net
jjlee at codespeak.net
Sat Jul 28 20:28:56 CEST 2007
Author: jjlee
Date: Sat Jul 28 20:28:55 2007
New Revision: 45426
Modified:
wwwsearch/mechanize/trunk/mechanize/_mechanize.py
Log:
Update .title() docstring to reflect recent change to behaviour (treatment of tags).
Modified: wwwsearch/mechanize/trunk/mechanize/_mechanize.py
==============================================================================
--- wwwsearch/mechanize/trunk/mechanize/_mechanize.py (original)
+++ wwwsearch/mechanize/trunk/mechanize/_mechanize.py Sat Jul 28 20:28:55 2007
@@ -451,10 +451,10 @@
return self._factory.encoding
def title(self):
- """Return title, or None if there is no title element in the document.
+ r"""Return title, or None if there is no title element in the document.
- Tags are stripped or textified as described in docs for
- PullParser.get_text() method of pullparser module.
+ Treatment of any tag children of attempts to follow Firefox and IE
+ (currently, tags are preserved).
"""
if not self.viewing_html():
More information about the wwwsearch-commits
mailing list