[wwwsearch-commits] r19199 - wwwsearch/mechanize/trunk/mechanize
jjlee at codespeak.net
jjlee at codespeak.net
Sun Oct 30 19:58:18 CET 2005
Author: jjlee
Date: Sun Oct 30 19:58:17 2005
New Revision: 19199
Modified:
wwwsearch/mechanize/trunk/mechanize/_mechanize.py
Log:
Remove redundant code
Modified: wwwsearch/mechanize/trunk/mechanize/_mechanize.py
==============================================================================
--- wwwsearch/mechanize/trunk/mechanize/_mechanize.py (original)
+++ wwwsearch/mechanize/trunk/mechanize/_mechanize.py Sun Oct 30 19:58:17 2005
@@ -472,7 +472,7 @@
"""
return self.open(self.click_link(link, **kwds))
- def find_link(self, *args, **kwds):
+ def find_link(self, **kwds):
"""Find a link in current page.
Links are returned as mechanize.Link objects.
@@ -517,8 +517,6 @@
nr: matches the nth link that matches all other criteria (default 0)
"""
- if args:
- raise ValueError("keyword arguments only, please!")
return self._find_links(True, **kwds)
def __getattr__(self, name):
More information about the wwwsearch-commits
mailing list