mirror of
https://github.com/python/cpython.git
synced 2025-09-30 04:15:43 +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'}
|
>>> keys & {'eggs', 'bacon', 'salad'}
|
||||||
{'bacon'}
|
{'bacon'}
|
||||||
>>> keys ^ {'sausage', 'juice'}
|
>>> keys ^ {'sausage', 'juice'}
|
||||||
{'juice', 'eggs', 'bacon', 'spam'}
|
{'juice', 'sausage', 'bacon', 'spam'}
|
||||||
|
|
||||||
|
|
||||||
.. _typememoryview:
|
.. _typememoryview:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue