From bc0e9108261693b6278687f4fb4709ff76c2e543 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Thu, 4 Apr 2002 22:55:58 +0000 Subject: Convert a pile of obvious "yes/no" functions to return bool. --- Lib/ntpath.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/ntpath.py') 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? -- cgit v1.2.1