Skip to content

Make name parameter in some __getattr__ functions/methods positional-only - #15819

Merged
srittau merged 4 commits into
python:mainfrom
jonathandung:patch-1
Jul 23, 2026
Merged

Make name parameter in some __getattr__ functions/methods positional-only#15819
srittau merged 4 commits into
python:mainfrom
jonathandung:patch-1

Conversation

@jonathandung

@jonathandung jonathandung commented May 21, 2026

Copy link
Copy Markdown
Contributor
  1. stdlib/__main__.pyi
  2. stdlib/_ctypes/pyi
  3. stubs/tensorflow/python/__init__.pyi
  4. stubs/tensorflow/python/keras/__init__.pyi

@github-actions

This comment has been minimized.

@jonathandung jonathandung changed the title Make name parameter in __getattr__ functions across typeshed positional only Make name parameter in some __getattr__ functions/methods positional-only May 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@srittau
srittau merged commit 23d6f98 into python:main Jul 23, 2026
61 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.

2 participants