diff --git a/Doc/library/operator.rst b/Doc/library/operator.rst index 03547ca4adc..24becf9889e 100644 --- a/Doc/library/operator.rst +++ b/Doc/library/operator.rst @@ -254,7 +254,7 @@ expect a function argument. ``(b.name, b.date)``. * After ``f = attrgetter('name.first', 'name.last')``, the call ``f(b)`` - returns ``(r.name.first, r.name.last)``. + returns ``(b.name.first, b.name.last)``. Equivalent to::