From 295e1240ad0273e2328a196effdbf07a9192ca7d Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Sun, 29 Sep 2013 14:53:44 +0200 Subject: [PATCH] PY3 should really check for Python >= 3 --- hy/_compat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hy/_compat.py b/hy/_compat.py index 3b203f8..e30d0dc 100644 --- a/hy/_compat.py +++ b/hy/_compat.py @@ -25,7 +25,7 @@ except ImportError: import builtins # NOQA import sys -PY3 = sys.version_info[0] == 3 +PY3 = sys.version_info[0] >= 3 if PY3: str_type = str