Skip to content

Commit

Permalink
✏️ Fix typo in docstrings (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier-monaco committed Nov 17, 2022
1 parent 5f6ad8e commit 4639d7d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/retrie/retrie.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(
"""Initialize Trie and set regex config.
Note:
Although the Trie is case-sensitive, by defailt re.IGNORECASE is used.
Although the Trie is case-sensitive, by default re.IGNORECASE is used.
Args:
word_boundary (str): Token to wrap the retrie to exclude certain matches.
Expand Down Expand Up @@ -110,7 +110,7 @@ def __init__(
"""Check and mutate strings against a Retrie.
Note:
Although the Trie is case-sensitive, by defailt re.IGNORECASE is used.
Although the Trie is case-sensitive, by default re.IGNORECASE is used.
Args:
keys (Sequence): Strings to build the Retrie from.
Expand Down Expand Up @@ -154,7 +154,7 @@ def __init__(
"""Mutate [sequences of] strings based on their match against blacklisted.
Note:
Although the Trie is case-sensitive, by defailt re.IGNORECASE is used.
Although the Trie is case-sensitive, by default re.IGNORECASE is used.
Args:
blacklisted (Sequence): Strings to build the Retrie from.
Expand Down Expand Up @@ -201,7 +201,7 @@ def __init__(
"""Mutate [sequences of] strings based on their match against whitelisted.
Note:
Although the Trie is case-sensitive, by defailt re.IGNORECASE is used.
Although the Trie is case-sensitive, by default re.IGNORECASE is used.
Args:
whitelisted (Sequence): Strings to build the Retrie from.
Expand Down Expand Up @@ -250,7 +250,7 @@ def __init__(
"""Replace occurrences of replacement_mapping.keys() with corresponding values.
Note:
Although the Trie is case-sensitive, by defailt re.IGNORECASE is used.
Although the Trie is case-sensitive, by default re.IGNORECASE is used.
Args:
replacement_mapping (Mapping): Mapping {old: new} to replace.
Expand Down

0 comments on commit 4639d7d

Please sign in to comment.