Skip to content

Commit 2462173

Browse files
Update python/pythonmonkey/require.py
1 parent 91355f2 commit 2462173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pythonmonkey/require.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def runProgramModule(filename, argv, extraPaths=[]):
410410
globalThis.__dirname = os.path.dirname(fullFilename)
411411
with open(fullFilename, encoding="utf-8", mode="r") as mainModuleSource:
412412
pm.eval(mainModuleSource.read(), {'filename': fullFilename, 'noScriptRval': True})
413-
# forcibly run in file mode. We shouldn't be getting the last statement of the script as the result value.
413+
# forcibly run in file mode. We shouldn't be getting the last expression of the script as the result value.
414414

415415
# The pythonmonkey require export. Every time it is used, the stack is inspected so that the filename
416416
# passed to createRequire is correct. This is necessary so that relative requires work. If the filename

0 commit comments

Comments
 (0)