Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   RE: A better way to accomplish loop (http://www.velocityreviews.com/forums/t957564-re-a-better-way-to-accomplish-loop.html)

Joseph L. Casale 02-12-2013 11:01 PM

RE: A better way to accomplish loop
 
> 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 them*
>*will happen to please PyCharm.


Wasn't overly concerned with pycharm, but clarity would be*more desirable..


> dicts = [a_dict1, a_dict2]*
> for x,y in zip(dicts, a_tuple):



Ironically, that is clearer and satisfied*pycharms lint feature.
Thanks!
jlc


All times are GMT. The time now is 02:07 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.