summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/py_compi.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-04-02 06:13:34 (GMT)
committerGuido van Rossum <guido@python.org>1997-04-02 06:13:34 (GMT)
commit228b8e88bc7a7ce740e5c7326697e7c2256e099f (patch)
tree81149f4696131ea3d2c123fb169c8a31db23a76a /Lib/dos-8x3/py_compi.py
parentd69a84b01eb802b2bfd7dd2c868a9b2da9465a5e (diff)
downloadcpython-228b8e88bc7a7ce740e5c7326697e7c2256e099f.zip
cpython-228b8e88bc7a7ce740e5c7326697e7c2256e099f.tar.gz
cpython-228b8e88bc7a7ce740e5c7326697e7c2256e099f.tar.bz2
Whole lotta changes.
Diffstat (limited to 'Lib/dos-8x3/py_compi.py')
-rwxr-xr-xLib/dos-8x3/py_compi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dos-8x3/py_compi.py b/Lib/dos-8x3/py_compi.py
index fba7b1d..e9e90ff 100755
--- a/Lib/dos-8x3/py_compi.py
+++ b/Lib/dos-8x3/py_compi.py
@@ -19,7 +19,7 @@ def compile(file, cfile = None):
timestamp = long(os.stat(file)[8])
codeobject = __builtin__.compile(codestring, file, 'exec')
if not cfile:
- cfile = file + 'c'
+ cfile = file + (__debug__ and 'c' or 'o')
fc = open(cfile, 'wb')
fc.write(MAGIC)
wr_long(fc, timestamp)