Skip to content

Commit

Permalink
Improve a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Sep 26, 2024
1 parent 7845043 commit 1ff8ad6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mathics/builtin/files_io/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,11 @@ class Get(PrefixOperator):
def eval(self, path: String, evaluation: Evaluation, options: dict):
"Get[path_String, OptionsPattern[Get]]"

# Make sure to pick up copy from module each time instead of using
# use "from ... import DEFAULT_TRACE_FN" which will not pick
# up run-time changes made to the module function.
trace_fn = mathics.eval.files_io.files.DEFAULT_TRACE_FN

trace_get = evaluation.parse("Settings`$TraceGet")
if (
options["System`Trace"].to_python()
Expand Down

0 comments on commit 1ff8ad6

Please sign in to comment.