Benjamin Peterson <[email protected]> added the comment:

.endswith() is a good alternative to [-2:] ==

----------
nosy: +benjamin.peterson

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue5949>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to