aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/codeop.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/codeop.py')
-rw-r--r--Lib/codeop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/codeop.py b/Lib/codeop.py
index fb759da42ad..e5c7adea54f 100644
--- a/Lib/codeop.py
+++ b/Lib/codeop.py
@@ -130,7 +130,7 @@ class Compile:
self.flags = PyCF_DONT_IMPLY_DEDENT
def __call__(self, source, filename, symbol):
- codeob = compile(source, filename, symbol, self.flags, 1)
+ codeob = compile(source, filename, symbol, self.flags, True)
for feature in _features:
if codeob.co_flags & feature.compiler_flag:
self.flags |= feature.compiler_flag