Commit 803a8ea4 authored by Neal Norwitz's avatar Neal Norwitz

Update docstring to reflect code change to bool

parent 50ee94fd
...@@ -69,7 +69,7 @@ def forget_except_prefix(prefix): ...@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment