Skip to content

Commit

Permalink
Superset subset and operator typo corrections. (exercism#3651)
Browse files Browse the repository at this point in the history
  • Loading branch information
BethanyG authored Feb 29, 2024
1 parent 052ae68 commit 55a0ab4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 55a0ab4

Please sign in to comment.