Skip to content

Commit a810e16

Browse files
committed
basic docstring for copy arg
1 parent fb1ce22 commit a810e16

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pythonwhat/check_funcs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,8 @@ def has_expr(incorrect_msg="FMT:Unexpected expression {test}: expected `{sol_eva
481481
be passed explicitely.
482482
name (str): the name of a variable, or expression, whose value will be tested after running the
483483
student and solution code. This could be thought of as post code.
484+
copy (bool): whether to try to deep copy objects in the environment, such as lists, that could
485+
accidentally be mutated. Disable to speed up SCTs. Disabling may lead to cryptic mutation issues.
484486
"""
485487
rep = Reporter.active_reporter
486488

0 commit comments

Comments
 (0)