⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@johnslavik
Copy link
Member

@johnslavik johnslavik commented Jan 13, 2026

@johnslavik johnslavik marked this pull request as ready for review January 13, 2026 19:18
Comment on lines 1140 to 1141
wrong_name = getattr(exc_value, "name", None)
if wrong_name is not None and wrong_name in sys.stdlib_module_names:
Copy link
Member Author

@johnslavik johnslavik Jan 13, 2026

Choose a reason for hiding this comment

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

Out of scope, within the same function: wrong_name = ... and wrong_name is not None and could be removed here.

@johnslavik johnslavik requested a review from a12k January 14, 2026 13:26
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