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

Nick Coghlan ncoghlan at iinet.net.au
Sat Nov 13 14:50:30 CET 2004


Nick Coghlan wrote:
> Actually, if we went with the b) option, and the name 'popslice', I 
> would suggest the following signature:
> 
> list.popslice(start=0, end, step=1)

"Single argument is end value" was modelled on range(), FWIW.

Cheers,
Nick.

-- 
Nick Coghlan               |     Brisbane, Australia
Email: ncoghlan at email.com  | Mobile: +61 409 573 268


More information about the Python-Dev mailing list