]> granicus.if.org Git - python/commit
SF patch #852140: keyword.py - use __contains__ and bool
authorRaymond Hettinger <python@rcn.com>
Tue, 2 Dec 2003 07:48:15 +0000 (07:48 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 2 Dec 2003 07:48:15 +0000 (07:48 +0000)
commit70ef8692a193a70dfd49610f725cb23c14b32fe3
tree37e7540998c44cdfb33315a0e720c635525fc6f1
parent25695282a57e3212acb48ab4d022bf2ea4092e1d
SF patch #852140:  keyword.py - use __contains__ and bool

Use a set instead of dict with values equal to one.
Lib/keyword.py