diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-04-04 22:55:58 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-04-04 22:55:58 +0000 |
commit | 6466fec7b159fc14149632409a49b3ff86d011a8 (patch) | |
tree | ecdc70d76cc98d27bc305966884c5e269f15fdb0 /Lib/ntpath.py | |
parent | f4c58160823a30ddfac1b2565ff8a57edfaf31e1 (diff) | |
download | cpython-6466fec7b159fc14149632409a49b3ff86d011a8.tar.gz |
Convert a pile of obvious "yes/no" functions to return bool.
Diffstat (limited to 'Lib/ntpath.py')
-rw-r--r-- | Lib/ntpath.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/ntpath.py b/Lib/ntpath.py index 5a63105d08..8cd8e9ad68 100644 --- a/Lib/ntpath.py +++ b/Lib/ntpath.py @@ -246,8 +246,8 @@ def exists(path): try: st = os.stat(path) except os.error: - return 0 - return 1 + return False + return True # Is a path a dos directory? |