Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6af0c00 commit ef8dc06Copy full SHA for ef8dc06
1 file changed
Lib/py_compile.py
@@ -19,7 +19,7 @@ def compile(file, cfile = None):
19
timestamp = long(os.stat(file)[8])
20
codeobject = __builtin__.compile(codestring, file, 'exec')
21
if not cfile:
22
- cfile = file + 'c'
+ cfile = file + (__debug__ and 'c' or 'o')
23
fc = open(cfile, 'wb')
24
fc.write(MAGIC)
25
wr_long(fc, timestamp)
0 commit comments