Nicholas Parsons <[EMAIL PROTECTED]> wrote: > I realize that in this context it is used for removing a specific key > from the current dictionary object. But why call it pop and not > something more intuitive like remove or delete?
I wasn't a python programmer back than, but I'd guess it's because pop not just removes the key, it returns the value as well. -- Web (en): http://www.no-spoon.de/ -*- Web (de): http://www.frell.de/ -- http://mail.python.org/mailman/listinfo/python-list