Author t-milich
Recipients
Date 2006-07-10.19:49:26
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
compare the two versions of 'endswith'.
Either  both of them should throw TypeErorr or both 
should return boolean value. 


>>> 'abc'.endswith( ('abc',None))

True

>>> 'abc'.endswith( ('abc',None),4,3)

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

TypeError: expected a character buffer object

History
Date User Action Args
2007-08-23 14:41:16adminlinkissue1520176 messages
2007-08-23 14:41:16admincreate