10000 GH-123945: Update regex for parsing negative numbers that contain underscores by savannahostrowski · Pull Request #123970 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-123945: Update regex for parsing negative numbers that contain underscores #123970

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

Merged
merged 14 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply suggestions from code review
  • Loading branch information
hauntsaninja authored Sep 17, 2024
commit 1c4f4cfcef9e690561e9254ee73ecb2bbdd94867
2 changes: 1 addition & 1 deletion Lib/test/test_argparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -2093,7 +2093,7 @@ class TestActionExtend(ParserTestCase):
]


class TestNegativeNumberAction(ParserTestCase):
class TestNegativeNumber(ParserTestCase):
"""Test parsing negative numbers"""

argument_signatures = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Fix a bug where argparse doesn't recognize negative numbers with underscores
Fix a bug where :mod:`argparse` doesn't recognize negative numbers with underscores
Loading
0