summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-03-21 19:14:38 (GMT)
committerGeorg Brandl <georg@python.org>2008-03-21 19:14:38 (GMT)
commit06291185e1d9d1dc96388108690c62d0d52364aa (patch)
tree8427ac78182b2c4689ded1ea2ca035d0aec08868
parent510eab5965c8a4d7c8706ca63ffa8c0e7d32454e (diff)
downloadcpython-06291185e1d9d1dc96388108690c62d0d52364aa.zip
cpython-06291185e1d9d1dc96388108690c62d0d52364aa.tar.gz
cpython-06291185e1d9d1dc96388108690c62d0d52364aa.tar.bz2
Fix a code block in __future__ docs.
-rw-r--r--Doc/library/__future__.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/__future__.rst b/Doc/library/__future__.rst
index 6bf2830..e2349cc 100644
--- a/Doc/library/__future__.rst
+++ b/Doc/library/__future__.rst
@@ -1,4 +1,3 @@
-
:mod:`__future__` --- Future statement definitions
==================================================
@@ -22,8 +21,8 @@
Each statement in :file:`__future__.py` is of the form::
- FeatureName = "_Feature(" OptionalRelease "," MandatoryRelease ","
- CompilerFlag ")"
+ FeatureName = _Feature(OptionalRelease, MandatoryRelease,
+ CompilerFlag)
where, normally, *OptionalRelease* is less than *MandatoryRelease*, and both are