summaryrefslogtreecommitdiffstats
path: root/Lib/os.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/os.py')
-rw-r--r--Lib/os.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/os.py b/Lib/os.py
index 4520b4f..e19883b 100644
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -445,9 +445,9 @@ else:
def _exists(name):
try:
eval(name)
- return 1
+ return True
except NameError:
- return 0
+ return False
# Supply spawn*() (probably only for Unix)
if _exists("fork") and not _exists("spawnv") and _exists("execv"):