diff --git a/Doc/library/operator.rst b/Doc/library/operator.rst index 80bad7142c6..fa3bcddac1e 100644 --- a/Doc/library/operator.rst +++ b/Doc/library/operator.rst @@ -265,7 +265,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::