summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-06-02 22:14:22 -0700
committerBenjamin Peterson <benjamin@python.org>2013-06-02 22:14:22 -0700
commit4a755dc17294e71969a146d2b3e7b87db083c735 (patch)
tree0c81030cbf7878a917238e22bdb89a9398ee6cfc /documentation
parent36aab52fa3cd14d669f59caa09e97491a7878ee5 (diff)
downloadsix-4a755dc17294e71969a146d2b3e7b87db083c735.tar.gz
add six.PY2
Diffstat (limited to 'documentation')
-rw-r--r--documentation/index.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/documentation/index.rst b/documentation/index.rst
index b837230..d60328a 100644
--- a/documentation/index.rst
+++ b/documentation/index.rst
@@ -31,6 +31,10 @@ Indices and tables
Package contents
----------------
+.. data:: PY2
+
+ A boolean indicating if the code is running on Python 2.
+
.. data:: PY3
A boolean indicating if the code is running on Python 3.