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

jjlee at codespeak.net jjlee at codespeak.net
Wed Jul 5 22:18:32 CEST 2006


Author: jjlee
Date: Wed Jul  5 22:18:31 2006
New Revision: 29655

Modified:
   wwwsearch/mechanize/trunk/0.1-changes.txt
Log:
Explain how to get a sequence from iterable return values

Modified: wwwsearch/mechanize/trunk/0.1-changes.txt
==============================================================================
--- wwwsearch/mechanize/trunk/0.1-changes.txt	(original)
+++ wwwsearch/mechanize/trunk/0.1-changes.txt	Wed Jul  5 22:18:31 2006
@@ -31,7 +31,7 @@
 - .forms() and .links() now both return iterators (in fact, generators),
   not sequences (not really an interface change: these were always
   documented to return iterables, but it will no doubt break some client
-  code).
+  code).  Use e.g. list(browser.forms()) if you want a list.
 
 - .links no longer raises LinkNotFoundError (was accidental -- only
   .click_link() / .find_link() should raise this).


More information about the wwwsearch-commits mailing list