We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9c3f6e commit 6f986aeCopy full SHA for 6f986ae
etuples/dispatch.py
@@ -51,12 +51,12 @@ def _reify_ExpressionTuple(u, s):
51
if getattr(u, "_parent", None) and all(res_same):
52
# If we simply swapped-out logic variables, then we don't want to
53
# lose the parent etuple information.
54
- res = etuple(*res)
+ res = type(u)(res)
55
res._parent = u._parent
56
yield res
57
return
58
59
- yield etuple(*res)
+ yield type(u)(res)
60
61
_reify.add((ExpressionTuple, Mapping), _reify_ExpressionTuple)
62
0 commit comments