diff --git a/artiq/language/__init__.py b/artiq/language/__init__.py index 145471752..99c019a75 100644 --- a/artiq/language/__init__.py +++ b/artiq/language/__init__.py @@ -3,7 +3,6 @@ from artiq.language.core import * from artiq.language.environment import * from artiq.language.units import * from artiq.language.scan import * -from artiq.language.embedding_map import * from . import import_cache __all__ = ["import_cache"] @@ -11,4 +10,3 @@ __all__.extend(core.__all__) __all__.extend(environment.__all__) __all__.extend(units.__all__) __all__.extend(scan.__all__) -__all__.extend(embedding_map.__all__) diff --git a/artiq/language/embedding_map.py b/artiq/language/embedding_map.py index 466426121..050925db9 100644 --- a/artiq/language/embedding_map.py +++ b/artiq/language/embedding_map.py @@ -1,7 +1,3 @@ -__all__ = [ - 'EmbeddingMap' -] - class EmbeddingMap: def __init__(self): self.object_inverse_map = {} @@ -62,5 +58,3 @@ class EmbeddingMap: def retrieve_str(self, key): return self.string_map[key] - -