8000 warnings.catch_warnings docstring: obsolete compat note · Issue #129842 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

warnings.catch_warnings docstring: obsolete compat note #129842

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jwilk opened this issue Feb 8, 2025 · 1 comment
Closed

warnings.catch_warnings docstring: obsolete compat note #129842

jwilk opened this issue Feb 8, 2025 · 1 comment
Labels
docs Documentation in the Doc dir easy

Comments

@jwilk
Copy link
jwilk commented Feb 8, 2025

The docstring for warnings.catch_warnings.__init__ reads:

For compatibility with Python 3.0, please consider all arguments to be
keyword-only.

This makes little sense these days.

Linked PRs

@sobolevn sobolevn added the docs Documentation in the Doc dir label Feb 8, 2025
@sobolevn sobolevn added the easy label Feb 8, 2025
@sobolevn
Copy link
Member
sobolevn commented Feb 8, 2025

Please, feel free to send a PR with the fix. It is a good first issue :)

@encukou encukou closed this as completed Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir easy
Projects
Status: Todo
Development

No branches or pull requests

3 participants