summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorKatherineMichel <kthrnmichel@gmail.com>2017-06-10 19:19:09 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2017-06-10 19:19:09 (GMT)
commitca816153445cba3baec15f7e890c71abfe495340 (patch)
tree492afaedae7707e58f6ab8e3f5e072457ae13716 /Doc/tutorial
parentc5179f6e2dfcc01cf0b977b184f5b8f8ac98fab1 (diff)
downloadcpython-ca816153445cba3baec15f7e890c71abfe495340.zip
cpython-ca816153445cba3baec15f7e890c71abfe495340.tar.gz
cpython-ca816153445cba3baec15f7e890c71abfe495340.tar.bz2
bpo-30312: Small correction in datastructures set code sample (GH-2081)
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/datastructures.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst
index 62be9a0..b95aca8 100644
--- 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'}