Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #101499

Re: I'm missing something here...

From Erik <python@lucidity.plus.com>
Newsgroups comp.lang.python
Subject Re: I'm missing something here...
Date 2016-01-11 23:55 +0000
Message-ID <mailman.28.1452556718.13488.python-list@python.org> (permalink)
References <CANc-5Uw6M7p9bLXhpET=6wdQz=vA-veDps_L-Q98utzYcs9+sg@mail.gmail.com>

Show all headers | View raw


On 11/01/16 23:26, Skip Montanaro wrote:
> If I change the last line of find_problems to call
> prob_dates.update(), the message disappears. Why is pylint (1.4.2 BTW)
> complaining that the prob_dates argument of find_problems is unused
> when I use the |= operator?

Is it complaining about that, or is it because the 'for' loop body might 
be executed zero times?

E.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: I'm missing something here... Erik <python@lucidity.plus.com> - 2016-01-11 23:55 +0000

csiph-web