[Zope3-Users] Re: Error in testbrowser documentation

Encolpe Degoute encolpe.degoute at ingeniweb.com
Wed Feb 13 23:32:31 EST 2008


Hello,
I obtain write access last week.
Can someone review my first commit (83809) ?

Regards,

Encolpe Degoute a écrit :
> Hello,
> 
> On http://pypi.python.org/pypi/zope.testbrowser you can read:
> 
> When a link text matches more than one link, by default the first one is
> chosen. You can, however, specify the index of the link and thus
> retrieve a later matching link:
> 
>  >>> browser.getLink('Link Text')
>  <Link text='Link Text' ...>
> 
>  >>> browser.getLink('Link Text', index=1)
>  <Link text='Link Text with Whitespace Normalization (and parens)' ...>
> 
> 
> But now the getLink signature is like this:
> def getLink(self, text=None, url=None, id=None)
> 
> 'text' and 'url' parameters can be regular expressions (ie: RegexType =
> type(re.compile('')))
> 
> Can someone fix this documentation ?
> 
> Regards,


-- 
Encolpe Degoute
INGENIWEB (TM) - S.A.S 50000 Euros - RC B 438 725 632
17 rue Louise Michel - 92300 Levallois Perret - France
web : www.ingeniweb.com - « les Services Web Ingénieux »
Tel : 01.78.15.24.08 / Fax : 01 47 57 39 14



More information about the Zope3-users mailing list