Skip to content

Commit e775352

Browse files
Fix typo in i18n.activate() docstring
The `activate()` Args section described `locale=None` as defaulting to "no transaltion" — correct the spelling to "translation". The docstring is rendered in the published API documentation via mkdocstrings, so the typo was user-visible.
1 parent d333afd commit e775352

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/humanize/i18n.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def activate(
6363
6464
Args:
6565
locale (str | None): Language name, e.g. `en_GB`. If `None`, defaults to no
66-
transaltion. Similar to calling ``deactivate()``.
66+
translation. Similar to calling ``deactivate()``.
6767
path (str | pathlib.Path): Path to search for locales.
6868
6969
Returns:

0 commit comments

Comments
 (0)