From ec8ee1e9346d43b2d93a69c4b47cc4972e83ad7b Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 26 Mar 2022 20:42:21 +0800 Subject: [PATCH] language: clean up EmbeddingMap --- artiq/language/__init__.py | 2 -- artiq/language/embedding_map.py | 6 ------ 2 files changed, 8 deletions(-) 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] - -