Commit Graph

6 Commits

Author SHA1 Message Date
Benjamin Peterson 6e3dbbdf39 replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
Tim Peters 182b5aca27 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
Andrew M. Kuchling f19f8610fa Modernize code a bit: use isinstance instead of type(); return True/False 2003-09-02 11:52:06 +00:00
Andrew M. Kuchling 0ec5288d09 [Patch #759208] Fix has_key emulation to not raise KeyError 2003-09-02 11:44:44 +00:00
Andrew M. Kuchling 40ea6177b9 Remove redundant import 2001-08-13 13:45:22 +00:00
Andrew M. Kuchling b45bd325b5 Added Python function to emulate the ncurses has_key() function. 2000-08-01 01:21:11 +00:00