summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2016-01-14 10:52:06 -0600
committerMichael Merickel <michael@merickel.org>2016-01-14 10:52:06 -0600
commit49cd2f840b441a3948c486b54ac823501a157643 (patch)
treeff84f9089997574d912977f8da3655847a9edd14
parentbc37a59c05c13ae637052dbfee5eed83b31648de (diff)
downloadpyramid-49cd2f840b441a3948c486b54ac823501a157643.tar.gz
pyramid-49cd2f840b441a3948c486b54ac823501a157643.tar.bz2
pyramid-49cd2f840b441a3948c486b54ac823501a157643.zip
add comment about PY2 vs PY3
-rw-r--r--pyramid/compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/compat.py b/pyramid/compat.py
index 16ddef38e..2bfbabb8e 100644
--- a/pyramid/compat.py
+++ b/pyramid/compat.py
@@ -20,7 +20,7 @@ try:
except ImportError: # pragma: no cover
import pickle
-# True if we are running on Python 3.
+# PY3 is left as bw-compat but PY2 should be used for most checks.
PY2 = sys.version_info[0] == 2
PY3 = sys.version_info[0] == 3