Skip to content

Fix typo in i18n.activate() docstring#325

Merged
hugovk merged 1 commit into
python-humanize:mainfrom
Labib-Bin-Salam:fix-activate-docstring-typo
Jun 9, 2026
Merged

Fix typo in i18n.activate() docstring#325
hugovk merged 1 commit into
python-humanize:mainfrom
Labib-Bin-Salam:fix-activate-docstring-typo

Conversation

@Labib-Bin-Salam

Copy link
Copy Markdown
Contributor

Changes proposed in this pull request:

  • Fix a spelling typo in the activate() docstring (src/humanize/i18n.py): "no transaltion" → "no translation".

This docstring is rendered in the published API documentation via mkdocstrings, so the typo was user-visible. No code behaviour changes.

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.
@hugovk hugovk added the changelog: skip Exclude PR from release draft label Jun 9, 2026
@codecov

codecov Bot commented Jun 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.55%. Comparing base (d333afd) to head (e775352).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #325   +/-   ##
=======================================
  Coverage   99.55%   99.55%           
=======================================
  Files          12       12           
  Lines         900      900           
=======================================
  Hits          896      896           
  Misses          4        4           
Flag Coverage Δ
macos-latest 97.55% <ø> (ø)
ubuntu-latest 97.55% <ø> (ø)
windows-latest 95.66% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hugovk hugovk enabled auto-merge (squash) June 9, 2026 09:47
@hugovk

hugovk commented Jun 9, 2026

Copy link
Copy Markdown
Member

Thank you.

@codspeed-hq

codspeed-hq Bot commented Jun 9, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 15 untouched benchmarks


Comparing Labib-Bin-Salam:fix-activate-docstring-typo (e775352) with main (d333afd)

Open in CodSpeed

@hugovk hugovk added the documentation Improvements or additions to documentation label Jun 9, 2026
@hugovk hugovk merged commit 976484a into python-humanize:main Jun 9, 2026
47 of 48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: skip Exclude PR from release draft documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants