Skip to content

Commit ca81615

Browse files
KatherineMichelMariatta
authored andcommitted
bpo-30312: Small correction in datastructures set code sample (pythonGH-2081)
1 parent c5179f6 commit ca81615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tutorial/datastructures.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ Here is a brief demonstration::
466466
{'a', 'r', 'b', 'c', 'd'}
467467
>>> a - b # letters in a but not in b
468468
{'r', 'd', 'b'}
469-
>>> a | b # letters in either a or b
469+
>>> a | b # letters in a or b or both
470470
{'a', 'c', 'r', 'd', 'b', 'm', 'z', 'l'}
471471
>>> a & b # letters in both a and b
472472
{'a', 'c'}

0 commit comments

Comments
 (0)