From: KatherineMichel Date: Sat, 10 Jun 2017 19:19:09 +0000 (-0500) Subject: bpo-30312: Small correction in datastructures set code sample (GH-2081) X-Git-Tag: v3.7.0a1~636 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca816153445cba3baec15f7e890c71abfe495340;p=thirdparty%2FPython%2Fcpython.git bpo-30312: Small correction in datastructures set code sample (GH-2081) --- diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst index 62be9a0e9d56..b95aca885252 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'}