Skip to content

Remove remaining :rtype:s from docstrings#9742

Open
akx wants to merge 1 commit into
python-pillow:mainfrom
akx:remove-rtypes
Open

Remove remaining :rtype:s from docstrings#9742
akx wants to merge 1 commit into
python-pillow:mainfrom
akx:remove-rtypes

Conversation

@akx

@akx akx commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

The type annotations for the functions describe the return type anyway, so no great reason I can think of to keep a redundant other copy around.

Noticed these in Chops while working on #9738 and figured I'd do a full sweep.

The type annotations for the functions describe the return type anyway.
@codspeed-hq

codspeed-hq Bot commented Jun 30, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 331 untouched benchmarks


Comparing akx:remove-rtypes (5ad6072) with main (6590b1b)

Open in CodSpeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants