Skip to content

Fix typos in docstrings (contraint, funciton, priorty)#1808

Merged
CaselIT merged 1 commit intosqlalchemy:mainfrom
Bojun-Vvibe:agent/sqlalchemy_alembic-1776716384
Apr 20, 2026
Merged

Fix typos in docstrings (contraint, funciton, priorty)#1808
CaselIT merged 1 commit intosqlalchemy:mainfrom
Bojun-Vvibe:agent/sqlalchemy_alembic-1776716384

Conversation

@Bojun-Vvibe
Copy link
Copy Markdown
Contributor

Repo: sqlalchemy/alembic (⭐ 2700)
Type: docs
Files changed: 4
Lines: +5/-5

What

Corrects three recurring spelling mistakes in user-visible docstrings: contraintconstraint (3 occurrences across op.pyi, operations/base.py, operations/ops.py), funcitonfunction and priortypriority in util/langhelpers.py. The op.pyi stub change matches the autogenerated source so it stays consistent with tools/write_pyi.py output.

Why

The misspellings appear in rendered API docs (e.g. Operations.add_column, PriorityDispatcher) and in IDE tooltips via the .pyi stub. Pure documentation polish — no behavior change.

Testing

No runtime code paths touched; docstrings only. Verified with git diff that only string literals/comments were modified. No need to run the test suite.

Risk

Low — docstring/comment-only edits, no functional change.

@CaselIT CaselIT marked this pull request as ready for review April 20, 2026 20:32
@CaselIT
Copy link
Copy Markdown
Member

CaselIT commented Apr 20, 2026

thanks

@CaselIT CaselIT merged commit 0ab9027 into sqlalchemy:main Apr 20, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants