mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Update docstring to reflect code change to bool
This commit is contained in:
parent
50ee94fd41
commit
803a8ea47e
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue