Update docstring to reflect code change to bool
This commit is contained in:
parent
50ee94fd41
commit
803a8ea47e
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue