This commit is contained in:
Thomas Van Lenten 2019-05-01 13:38:59 -04:00 committed by c-parsons
parent 31b8ea5ea1
commit f80abf6578
2 changed files with 4 additions and 4 deletions

View File

@ -96,7 +96,7 @@ sets.insert(<a href="#sets.insert-s">s</a>, <a href="#sets.insert-e">e</a>)
Inserts an element into the set. Inserts an element into the set.
Element must be hashable. This mutates the orginal set. Element must be hashable. This mutates the original set.
### Parameters ### Parameters
@ -426,7 +426,7 @@ sets.remove(<a href="#sets.remove-s">s</a>, <a href="#sets.remove-e">e</a>)
Removes an element from the set. Removes an element from the set.
Element must be hashable. This mutates the orginal set. Element must be hashable. This mutates the original set.
### Parameters ### Parameters

View File

@ -61,7 +61,7 @@ def _to_list(s):
def _insert(s, e): def _insert(s, e):
"""Inserts an element into the set. """Inserts an element into the set.
Element must be hashable. This mutates the orginal set. Element must be hashable. This mutates the original set.
Args: Args:
s: A set, as returned by `sets.make()`. s: A set, as returned by `sets.make()`.
@ -76,7 +76,7 @@ def _insert(s, e):
def _remove(s, e): def _remove(s, e):
"""Removes an element from the set. """Removes an element from the set.
Element must be hashable. This mutates the orginal set. Element must be hashable. This mutates the original set.
Args: Args:
s: A set, as returned by `sets.make()`. s: A set, as returned by `sets.make()`.