]> granicus.if.org Git - python/commitdiff
Issue #20005: Fix typo in operator docs. Patch by Claudiu Popa.
authorZachary Ware <zachary.ware@gmail.com>
Wed, 18 Dec 2013 18:21:49 +0000 (12:21 -0600)
committerZachary Ware <zachary.ware@gmail.com>
Wed, 18 Dec 2013 18:21:49 +0000 (12:21 -0600)
Doc/library/operator.rst

index 03547ca4adceb2c0b1c3bd7ae0c42dbd8e9f9f87..24becf9889e3e91396e829ccdb93e14aadbcf52d 100644 (file)
@@ -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::