labscript_utils.double_import_denier¶
-
class
labscript_utils.double_import_denier.
DoubleImportDenier
[source]¶ A module finder that tracks what’s been imported and disallows multiple imports of the same module under different names, raising an exception upon detecting that this has occured
-
_format_tb
(tb)[source]¶ Take a formatted traceback as returned by traceback.format_stack() and remove lines that are solely about us and the Python machinery, leaving only lines pertaining to the user’s code
-