mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Issue #20005: Fix typo in operator docs. Patch by Claudiu Popa.
This commit is contained in:
parent
3c02ecefba
commit
0bffca006a
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ expect a function argument.
|
||||||
``(b.name, b.date)``.
|
``(b.name, b.date)``.
|
||||||
|
|
||||||
* After ``f = attrgetter('name.first', 'name.last')``, the call ``f(b)``
|
* 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::
|
Equivalent to::
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue