Nick Coghlan wrote: > x = L[i:i+n]; del L[i:i+n]; return x > > By default, n = 1, so the standard behaviour of list.pop is preserved. This default would actually change the standard behaviour: whereas it now returns a single element, it would then return a list containing the single element. Regards, Martin
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