A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2014-May/134639.html below:

[Python-Dev] cpython: Minor clean-ups for heapq.

[Python-Dev] cpython: Minor clean-ups for heapq. [Python-Dev] cpython: Minor clean-ups for heapq.Serhiy Storchaka storchaka at gmail.com
Tue May 27 10:58:51 CEST 2014
26.05.14 10:59, raymond.hettinger написав(ла):
> +        result = [(elem, i) for i, elem in zip(range(n), it)]

Perhaps it is worth to add simple comment explaining why this is not 
equivalent to just list(zip(it, range(n))). Otherwise it can be 
unintentionally "optimized" in future.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4