summaryrefslogtreecommitdiffstats
path: root/Doc/library/operator.rst
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2012-10-07 08:29:32 (GMT)
committerArmin Ronacher <armin.ronacher@active-4.com>2012-10-07 08:29:32 (GMT)
commit74b38b190faae988b4951cf46d83f853589aa530 (patch)
tree3259a32fff2a205c6d3d74d9a04c165eb5908686 /Doc/library/operator.rst
parent96e936712f2d926fb566c8680958a07fc6b84c71 (diff)
downloadcpython-74b38b190faae988b4951cf46d83f853589aa530.zip
cpython-74b38b190faae988b4951cf46d83f853589aa530.tar.gz
cpython-74b38b190faae988b4951cf46d83f853589aa530.tar.bz2
Issue #16148: Small improvements and cleanup. Added version information
to docs.
Diffstat (limited to 'Doc/library/operator.rst')
-rw-r--r--Doc/library/operator.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/operator.rst b/Doc/library/operator.rst
index 93f33ff..1cd87fc 100644
--- a/Doc/library/operator.rst
+++ b/Doc/library/operator.rst
@@ -241,6 +241,8 @@ their character equivalents.
actual length, then an estimate using ``__length_hint__``, and finally
returning the default value.
+ .. versionadded:: 3.4
+
The :mod:`operator` module also defines tools for generalized attribute and item
lookups. These are useful for making fast field extractors as arguments for
:func:`map`, :func:`sorted`, :meth:`itertools.groupby`, or other functions that