8000 Error message displayed for min()/max() function by SohamRatnaparkhi · Pull Request #92386 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Error message displayed for min()/max() function #92386

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
wants to merge 1 commit into from
Closed

Error message displayed for min()/max() function #92386

wants to merge 1 commit into from

Conversation

SohamRatnaparkhi
Copy link

#90829: Changing the error message - "ValueError: min() arg is an empty sequence" to "ValueError: should have at least 1 element as an argument but, there is no argument and it is an empty sequence"

  • This can make the error message more comprehendible

Changing the error message "ValueError: min() arg is an empty sequence" to "ValueError: should have at least 1 element as an argument but, there is no argument and it is an empty sequence".
- This can makes the error message more easily understandable.
@ghost
Copy link
ghost commented May 6, 2022

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-bot
Copy link

Every change to Python requires a NEWS entry.

Please, add it using the blurb_it Web app or the blurb command-line tool.

@bedevere-bot
Copy link

Every change to Python requires a NEWS entry.

Please, add it using the blurb_it Web app or the blurb command-line tool.

@SohamRatnaparkhi SohamRatnaparkhi deleted the SohamRatnaparkhi-patch-1 branch May 6, 2022 09:54
@SohamRatnaparkhi SohamRatnaparkhi restored the SohamRatnaparkhi-patch-1 branch May 6, 2022 09:55
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
0