mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
#12665: Dictionary view example has error in set operation
This commit is contained in:
parent
692dba244b
commit
2a8d195328
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue