[Patches] [ python-Patches-563203 ] Replace 'has_key' with 'in'
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 31 May 2002 22:22:36 -0700
Patches item #563203, was opened at 2002-06-01 00:22
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=563203&group_id=5470
Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Raymond Hettinger (rhettinger)
Assigned to: Guido van Rossum (gvanrossum)
Summary: Replace 'has_key' with 'in'
Initial Comment:
The attached patch updates the library to use 'key in
dict' rather than the older, slower, less readable
has_key() form.
Passes regression tests.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=563203&group_id=5470