Skip to content
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

bpo-39870: Remove unused arg from sys_displayhook_unencodable. #18796

Merged
merged 1 commit into from
Mar 6, 2020
Merged

bpo-39870: Remove unused arg from sys_displayhook_unencodable. #18796

merged 1 commit into from
Mar 6, 2020

Conversation

petdance
Copy link
Contributor

@petdance petdance commented Mar 6, 2020

sys_displayhook_unencodable in Python/sysmodule.c doesn't need its first argument. Remove it.

Also move an int err to its much smaller necessary scope.

https://bugs.python.org/issue39870

Also move int err to its innermost scope.
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.

4 participants