From: KatherineMichel Date: Sat, 10 Jun 2017 20:33:57 +0000 (-0500) Subject: bpo-30312: Small correction in datastructures set code sample (GH-2081) (GH-2085) X-Git-Tag: v3.6.2rc1~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=865ed9ea67cf0d8a8dead91f3eac527553d92284;p=thirdparty%2FPython%2Fcpython.git bpo-30312: Small correction in datastructures set code sample (GH-2081) (GH-2085) (cherry picked from commit ca816153445cba3baec15f7e890c71abfe495340) --- diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst index 1a73ac9d0593..f9ddf06c5e0e 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'}