A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-April/133848.html below:

[Python-Dev] issue with itertools leads the crash

[Python-Dev] issue with itertools leads the crash [Python-Dev] issue with itertools leads the crashLarry Hastings larry at hastings.org
Tue Apr 8 19:30:02 CEST 2014
On 04/08/2014 12:50 PM, Chris Angelico wrote:
> It would be nice to have a simple notation that fetches what it needs
> and ignores any extras.
>
> a, b, c, * = x.split("-")
>
> Bomb if there aren't two hyphens in x, but if there are more, just
> take the first three and ignore the rest. Would work with infinite
> iterators quite happily.

http://legacy.python.org/dev/peps/pep-0448/


//arry/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140408/8ad0b4ec/attachment.html>
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