[Python-ideas] a in x or in y

Ram Rachum ram.rachum at gmail.com
Wed Feb 12 22:12:17 CET 2014


Hi,

What do you think about adding this to Python:

    'whatever a long string' in x or in y

I've often wished for this because the current way is quite verbose:

    'whatever a long string' in x or 'whatever a long string' in y

We might add "and in" wwai\ dafsdfasdfasdfa while we're at it. 


Ram.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140212/3abe5b98/attachment.html>


More information about the Python-ideas mailing list