[Patches] [ python-Patches-543316 ] UserDict.pop(key)

noreply@sourceforge.net noreply@sourceforge.net
Sat, 13 Apr 2002 07:03:54 -0700


Patches item #543316, was opened at 2002-04-13 00:31
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=543316&group_id=5470

Category: Library (Lib)
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Raymond Hettinger (rhettinger)
Assigned to: Guido van Rossum (gvanrossum)
Summary: UserDict.pop(key)

Initial Comment:
This two line patch modifies UserDict.py to match the 
new dictionary behavior, d.pop(k).

I originally omitted this patch on the theory that 
UserDict is headed toward deprecation, but I checked 
the docs and they promise that UserDict implements all 
of the methods for dictionaries.  This patch makes 
that statement true once again.

----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-04-13 10:03

Message:
Logged In: YES 
user_id=6380

Thanks! Added.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=543316&group_id=5470