summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-04-09 18:12:58 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-04-09 18:12:58 (GMT)
commit803a8ea47e79ba551296d04d94ab6fe3846bbbee (patch)
tree5c4c7349676c735ff05299764a32beb2a7513d18 /Lib
parent50ee94fd41fa125b9a4e73bcc5a66e54260e4b67 (diff)
downloadcpython-803a8ea47e79ba551296d04d94ab6fe3846bbbee.zip
cpython-803a8ea47e79ba551296d04d94ab6fe3846bbbee.tar.gz
cpython-803a8ea47e79ba551296d04d94ab6fe3846bbbee.tar.bz2
Update docstring to reflect code change to bool
Diffstat (limited to 'Lib')
-rw-r--r--Lib/statcache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/statcache.py b/Lib/statcache.py
index 42e5e90..47b79da 100644
--- a/Lib/statcache.py
+++ b/Lib/statcache.py
@@ -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: