summaryrefslogtreecommitdiff
path: root/documentation/index.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-12-20 21:59:17 -0600
committerBenjamin Peterson <benjamin@python.org>2013-12-20 21:59:17 -0600
commite7df992143b141bb73ca00408bfb0e705de2386c (patch)
tree52d560d5c9d4c585a8c3fceb94ae45e1a3d8cf48 /documentation/index.rst
parent8b9d8bc1a3fd22997719b4c77779c4233d54e8e4 (diff)
downloadsix-git-e7df992143b141bb73ca00408bfb0e705de2386c.tar.gz
remove support for Python 2.4, since py.test doesn't support it anymore
Diffstat (limited to 'documentation/index.rst')
-rw-r--r--documentation/index.rst13
1 files changed, 6 insertions, 7 deletions
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