summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README2
-rw-r--r--documentation/index.rst13
2 files changed, 7 insertions, 8 deletions
diff --git a/README b/README
index 99bd3a6..4de73fa 100644
--- a/README
+++ b/README
@@ -3,7 +3,7 @@ for smoothing over the differences between the Python versions with the goal of
writing Python code that is compatible on both Python versions. See the
documentation for more information on what is provided.
-Six supports every Python version since 2.4. It is contained in only one Python
+Six supports every Python version since 2.5. It is contained in only one Python
file, so it can be easily copied into your project. (The copyright and license
notice must be retained.)
diff --git a/documentation/index.rst b/documentation/index.rst
index 394fb9c..5c7860d 100644
--- a/documentation/index.rst
+++ b/documentation/index.rst
@@ -137,27 +137,26 @@ functions and methods is the stdlib :mod:`py3:inspect` module.
Get the closure (list of cells) associated with *func*. This is equivalent
to ``func.__closure__`` on Python 2.6+ and ``func.func_closure`` on Python
- 2.4 and 2.5.
+ 2.5.
.. function:: get_function_code(func)
Get the code object associated with *func*. This is equivalent to
- ``func.__code__`` on Python 2.6+ and ``func.func_code`` on Python 2.4 and
- 2.5.
+ ``func.__code__`` on Python 2.6+ and ``func.func_code`` on Python 2.5.
.. function:: get_function_defaults(func)
Get the defaults tuple associated with *func*. This is equivalent to
- ``func.__defaults__`` on Python 2.6+ and ``func.func_defaults`` on Python 2.4
- and 2.5.
+ ``func.__defaults__`` on Python 2.6+ and ``func.func_defaults`` on Python
+ 2.5.
.. function:: get_function_globals(func)
Get the globals of *func*. This is equivalent to ``func.__globals__`` on
- Python 2.6+ and ``func.func_globals`` on Python 2.4 and 2.5.
+ Python 2.6+ and ``func.func_globals`` on Python 2.5.
.. function:: next(it)
@@ -307,7 +306,7 @@ Python 2 and 3.
on Python 2.
Note that class decorators require Python 2.6. However, the effect of the
- decorator can be emulated on Python 2.4 and 2.5 like so::
+ decorator can be emulated on Python 2.5 like so::
class MyClass(object):
pass