diff options
| author | Michael Merickel <michael@merickel.org> | 2016-01-14 10:52:06 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2016-01-14 10:52:06 -0600 |
| commit | 49cd2f840b441a3948c486b54ac823501a157643 (patch) | |
| tree | ff84f9089997574d912977f8da3655847a9edd14 | |
| parent | bc37a59c05c13ae637052dbfee5eed83b31648de (diff) | |
| download | pyramid-49cd2f840b441a3948c486b54ac823501a157643.tar.gz pyramid-49cd2f840b441a3948c486b54ac823501a157643.tar.bz2 pyramid-49cd2f840b441a3948c486b54ac823501a157643.zip | |
add comment about PY2 vs PY3
| -rw-r--r-- | pyramid/compat.py | 2 |
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 |
