Update docstring to reflect code change to bool

This commit is contained in:
Neal Norwitz 2002-04-09 18:12:58 +00:00
parent 50ee94fd41
commit 803a8ea47e
1 changed files with 1 additions and 1 deletions

View File

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