summaryrefslogtreecommitdiff
path: root/Lib/ntpath.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-04-04 22:55:58 +0000
committerTim Peters <tim.peters@gmail.com>2002-04-04 22:55:58 +0000
commit6466fec7b159fc14149632409a49b3ff86d011a8 (patch)
treeecdc70d76cc98d27bc305966884c5e269f15fdb0 /Lib/ntpath.py
parentf4c58160823a30ddfac1b2565ff8a57edfaf31e1 (diff)
downloadcpython-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.py4
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?