Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions concepts/sets/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Traceback (most recent call last):

Sets have methods that generally mimic [mathematical set operations][mathematical-sets].
Most (_not all_) of these methods have an [operator][operator] equivalent.
Methods generally take any `iterable` as an argument, while operators require that both things being compared are `sets` or `frozensets`.
Methods generally take any `iterable` as an argument, while operators require that both sides of the operation are `sets` or `frozensets`.


### Membership Testing Between Sets
Expand Down Expand Up @@ -266,7 +266,7 @@ False
False

# A set is always a loose superset of itself.
>>> set(animals) <= set(animals)
>>> set(animals) >= set(animals)
True
```

Expand Down
4 changes: 2 additions & 2 deletions exercises/concept/cater-waiter/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ TypeError: unhashable type: 'set'

Sets have methods that generally mimic [mathematical set operations][mathematical-sets].
Most (_not all_) of these methods have an [operator][operator] equivalent.
Methods generally take any `iterable` as an argument, while operators require that both things being compared are `sets` or `frozensets`.
Methods generally take any `iterable` as an argument, while operators require that both sides of the operation are `sets` or `frozensets`.


### Disjoint Sets
Expand Down Expand Up @@ -212,7 +212,7 @@ False
False

# A set is always a loose superset of itself.
>>> set(animals) <= set(animals)
>>> set(animals) >= set(animals)
True
```

Expand Down