diff Lib/statcache.py @ 23620:a1de0bab5475 legacy-trunk

SF 563203. Replaced 'has_key()' with 'in'.
author Raymond Hettinger <python@rcn.com>
date Sat, 01 Jun 2002 14:18:47 +0000
parents e2dec3cdf3c2
children 65cf478950ff
line wrap: on
line diff
--- a/Lib/statcache.py	Sat Jun 01 06:03:09 2002 +0000
+++ b/Lib/statcache.py	Sat Jun 01 14:18:47 2002 +0000
@@ -16,7 +16,7 @@
 
 # The cache.  Keys are pathnames, values are os.stat outcomes.
 # Remember that multiple threads may be calling this!  So, e.g., that
-# cache.has_key(path) returns 1 doesn't mean the cache will still contain
+# path in cache returns 1 doesn't mean the cache will still contain
 # path on the next line.  Code defensively.
 
 cache = {}