Skip to content

Fixed the wrong argument passed - converting positional argument to n… - #131251

Closed
Abhisek-Tiwari wants to merge 1 commit into
python:mainfrom
Abhisek-Tiwari:problem-#129843-warn_explicit_fix
Closed

Abhisek-Tiwari wants to merge 1 commit into
python:mainfrom
Abhisek-Tiwari:problem-#129843-warn_explicit_fix

Conversation

@Abhisek-Tiwari

Copy link
Copy Markdown

…amed argument #129848

Corrected the bug in warn_explicit() method in warnings.py.
The bug was created due to to difference in positional arguments used in WarningMessage() method used in warn_explicit() method.

@ghost

ghost commented Mar 14, 2025 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-app

bedevere-app Bot commented Mar 14, 2025

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@picnixz

picnixz commented Mar 14, 2025

Copy link
Copy Markdown
Member

I think the other PR is better as it doesn't rely on setting the positional's default. As such, I will close this one.

@picnixz picnixz closed this Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants