Skip to content

Instantly share code, notes, and snippets.

Julien Danjou jd

Block or report user

Report or block jd

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:5320675
diff --git a/hy/ b/hy/
index 24ba107..22687ca 100644
--- a/hy/
+++ b/hy/
@@ -157,6 +157,19 @@ class HyASTCompiler(object):
return self._mangle_branch([branch])
+ def wraps_if_expression(self, expr):
+ return ast.Expr(
You can’t perform that action at this time.