diff --git a/etuples/core.py b/etuples/core.py index 05b1880..07ccb93 100644 --- a/etuples/core.py +++ b/etuples/core.py @@ -5,6 +5,8 @@ from collections.abc import Generator, Sequence from typing import Callable +from multipledispatch import dispatch + etuple_repr = reprlib.Repr() etuple_repr.maxstring = 100 etuple_repr.maxother = 100 @@ -337,6 +339,7 @@ def __hash__(self): return hash(self._tuple) +@dispatch([object]) def etuple(*args, **kwargs): """Create an ExpressionTuple from the argument list.