aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/python.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compilers/python.js')
-rw-r--r--lib/compilers/python.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compilers/python.js b/lib/compilers/python.js
index 4afd6acd5..085e5a193 100644
--- a/lib/compilers/python.js
+++ b/lib/compilers/python.js
@@ -46,7 +46,7 @@ export class PythonCompiler extends BaseCompiler {
let lastLineNo = null;
let sourceLoc = null;
- bytecodeLines.forEach(line => {
+ for (const line of bytecodeLines) {
const match = line.match(lineRe);
if (match) {
@@ -61,7 +61,7 @@ export class PythonCompiler extends BaseCompiler {
}
bytecodeResult.push({text: line, source: sourceLoc});
- });
+ }
return {asm: bytecodeResult};
}