projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5179f6
)
bpo-30312: Small correction in datastructures set code sample (GH-2081)
author
KatherineMichel
<kthrnmichel@gmail.com>
Sat, 10 Jun 2017 19:19:09 +0000
(14:19 -0500)
committer
Mariatta
<Mariatta@users.noreply.github.com>
Sat, 10 Jun 2017 19:19:09 +0000
(12:19 -0700)
Doc/tutorial/datastructures.rst
patch
|
blob
|
history
diff --git
a/Doc/tutorial/datastructures.rst
b/Doc/tutorial/datastructures.rst
index 62be9a0e9d5601083c929433bf5889578a4cb6cf..b95aca885252070ab58d5f0704ab90ec69060d32 100644
(file)
--- a/
Doc/tutorial/datastructures.rst
+++ b/
Doc/tutorial/datastructures.rst
@@
-466,7
+466,7
@@
Here is a brief demonstration::
{'a', 'r', 'b', 'c', 'd'}
>>> a - b # letters in a but not in b
{'r', 'd', 'b'}
- >>> a | b # letters in
either a or b
+ >>> a | b # letters in
a or b or both
{'a', 'c', 'r', 'd', 'b', 'm', 'z', 'l'}
>>> a & b # letters in both a and b
{'a', 'c'}