A certainl part of an if() structure never gets executed.

Neil Cerutti neilc at norwich.edu
Wed Jun 12 09:05:29 EDT 2013


On 2013-06-12, Chris Angelico <rosuav at gmail.com> wrote:
> On Wed, Jun 12, 2013 at 5:45 PM, ???????? ?????? <support at superhost.gr> wrote:
>> First of all i have changed the code to the following because using a
>> regex
>> to detect a single char was an overkill.
>>
>> if '=' not in name and '=' not in month and '=' not in year:
>
> It'd be courteous to acknowledge those who made that
> suggestion, most notably alex23 who posted it in almost that
> exact form.

Also, I wish he would stop fudging his From info. I've got
something like 8 entries for this ass in my killfile, and it
seems I need a new one every day.

-- 
Neil Cerutti



More information about the Python-list mailing list