mirror of https://github.com/python/cpython
Issue #20005: Fix typo in operator docs. Patch by Claudiu Popa.
This commit is contained in:
parent
3c02ecefba
commit
0bffca006a
|
@ -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::
|
||||
|
||||
|
|
Loading…
Reference in New Issue