[Python-bugs-list] <dict>.has_key() allows more than one argument (PR#210)

Fred L. Drake, Jr. fdrake@acm.org
Wed, 23 Feb 2000 10:48:22 -0500 (EST)

ajung@sz-sb.de writes:
 > According to the documentation the dictionary method has_key() allows
 > only one argument. However the current implementation allows more than
 > one argument. That makes no sense.
 > Maybe Python regards 1,2 as a tuple !?

  That's exactly what was happening.  I've fixed this in the CVS
repository; release 1.6 should behave a little better.  :)
  Thanks for reporting the bug!


Fred L. Drake, Jr.	  <fdrake at acm.org>
Corporation for National Research Initiatives