Couple more has_keys() going...

This commit is contained in:
Guido van Rossum 2006-08-19 16:53:45 +00:00
parent 6e23e3796d
commit e014a13f03
5 changed files with 26 additions and 26 deletions

View file

@ -274,7 +274,7 @@ def askfloat(title, prompt, **kw):
class _QueryString(_QueryDialog):
def __init__(self, *args, **kw):
if kw.has_key("show"):
if "show" in kw:
self.__show = kw["show"]
del kw["show"]
else: