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