]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-30312: Small correction in datastructures set code sample (GH-2081) (GH-2085)
authorKatherineMichel <kthrnmichel@gmail.com>
Sat, 10 Jun 2017 20:33:57 +0000 (15:33 -0500)
committerMariatta <Mariatta@users.noreply.github.com>
Sat, 10 Jun 2017 20:33:57 +0000 (13:33 -0700)
(cherry picked from commit ca816153445cba3baec15f7e890c71abfe495340)

Doc/tutorial/datastructures.rst

index 1a73ac9d05936a60b22563ac298ae473527b3a18..f9ddf06c5e0e9e3ea8ac132208c62baa1ec304f9 100644 (file)
@@ -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'}