]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#12665: Dictionary view example has error in set operation
authorSandro Tosi <sandro.tosi@gmail.com>
Tue, 2 Aug 2011 16:42:04 +0000 (18:42 +0200)
committerSandro Tosi <sandro.tosi@gmail.com>
Tue, 2 Aug 2011 16:42:04 +0000 (18:42 +0200)
Doc/library/stdtypes.rst

index 57a60edfb98ccf0ffd97d4357ddbd088014d3583..83c3bed5b9cf8a695b224b43b98ba237a5ce1917 100644 (file)
@@ -2318,7 +2318,7 @@ An example of dictionary view usage::
    >>> keys & {'eggs', 'bacon', 'salad'}
    {'bacon'}
    >>> keys ^ {'sausage', 'juice'}
-   {'juice', 'eggs', 'bacon', 'spam'}
+   {'juice', 'sausage', 'bacon', 'spam'}
 
 
 .. _typememoryview: