Commit 5302ba80 authored by Ezio Melotti's avatar Ezio Melotti

#17949: fix merge glitch in itemgetter signature. Patch by Martijn Pieters.

parent 67f84a78
......@@ -523,9 +523,6 @@ expect a function argument.
return obj
.. function:: itemgetter(item)
itemgetter(*items)
.. versionadded:: 2.4
.. versionchanged:: 2.5
......@@ -535,6 +532,9 @@ expect a function argument.
Added support for dotted attributes.
.. function:: itemgetter(item)
itemgetter(*items)
Return a callable object that fetches *item* from its operand using the
operand's :meth:`__getitem__` method. If multiple items are specified,
returns a tuple of lookup values. For example:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment