]> granicus.if.org Git - python/commitdiff
Update docstring to reflect code change to bool
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 9 Apr 2002 18:12:58 +0000 (18:12 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 9 Apr 2002 18:12:58 +0000 (18:12 +0000)
Lib/statcache.py

index 42e5e90db3dcc37832da7b2424629e18e2a59834..47b79da11c6c1af5b29869d94ea1ccf9a5e2def9 100644 (file)
@@ -69,7 +69,7 @@ def forget_except_prefix(prefix):
             forget(path)
 
 def isdir(path):
-    """Return 1 if directory, else 0."""
+    """Return True if directory, else False."""
     try:
         st = stat(path)
     except _os.error: