diff --git a/mcpyrate/unparser.py b/mcpyrate/unparser.py index 2b607dc..c5f4d0f 100644 --- a/mcpyrate/unparser.py +++ b/mcpyrate/unparser.py @@ -700,7 +700,7 @@ def _IfExp(self, t): self.write(")") def _Set(self, t): - assert(t.elts) # should be at least one element + assert t.elts # should be at least one element self.write("{") interleave(lambda: self.write(", "), self.dispatch, t.elts) self.write("}")