2
0
mirror of https://github.com/m-labs/artiq.git synced 2025-01-31 04:40:20 +08:00
This commit is contained in:
Sebastien Bourdeauducq 2022-07-21 11:58:25 +08:00
parent a3ca686305
commit ad37be40c7

View File

@ -491,7 +491,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("_")