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/2004-November/049915.html below:

[Python-Dev] syntactic shortcut - unpack to variably sized list

[Python-Dev] syntactic shortcut - unpack to variably sized list [Python-Dev] syntactic shortcut - unpack to variably sized list"Martin v. Löwis" martin at v.loewis.de
Sun Nov 14 20:38:18 CET 2004
Armin Rigo wrote:
> So who's wrong: the documentation of list.pop() or its implementation?  
> It would be nicely regular if we could pop slices.

That's an interesting observation. I was somewhat concerned that this
kind of overloading might be confusion, but given that it is even
already documented (with nobody noticing), I'm now very much in favour
of allowing to pop slices.

Of course, whoever implements the change should make sure that slices
are applicable consistently everwhere the documentation says they should
be.

Regards,
Martin



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