This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nascheme
Recipients
Date 2002-04-07.01:14:55
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=35752

I think this should be implemented as pop() instead:

  D.pop([key]) -> value -- remove and return value by key
(default a random value)

It makes no sense to return the key when you already have
it. pop() also matches well with list pop():

  L.pop([index]) -> item -- remove and return item at index
(default last)
History
Date User Action Args
2007-08-23 15:12:05adminlinkissue539949 messages
2007-08-23 15:12:05admincreate