diff --git a/artiq/language/environment.py b/artiq/language/environment.py index 969664d15..e61bf228b 100644 --- a/artiq/language/environment.py +++ b/artiq/language/environment.py @@ -485,7 +485,7 @@ def is_experiment(o): def is_public_experiment(o): - """Checks if a Pyhton object is a top-level, + """Checks if a Python object is a top-level, non underscore-prefixed, experiment class. """ return is_experiment(o) and not o.__name__.startswith("_")