Re: A better way to accomplish loop

2013-02-12 Thread Dave Angel
On 02/12/2013 02:59 PM, Joseph L. Casale wrote: I have an issue with some code I have been passed: I had to read it about four times before I knew what you were saying. Maybe I still have it wrong. for (x, y) in [(a_dict1, a_tuple[0]), (a_dict2, a_tuple[1])]: I only noticed it as

RE: A better way to accomplish loop

2013-02-12 Thread Joseph L. Casale
I think you're saying that the lint-feature of PyCharm is trying to  guess the object types, and telling you there's a conflict here.  I don't think you're saying that it executes incorrectly. Hah, yeah sorry Dave that's it.  Still there are ways to express it differently, and maybe one of