Kaydet (Commit) ca816153 authored tarafından KatherineMichel's avatar KatherineMichel Kaydeden (comit) Mariatta

bpo-30312: Small correction in datastructures set code sample (GH-2081)

üst c5179f6e
......@@ -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'}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment