Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
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
Next Next commit
Update Lib/_pydecimal.py
Co-authored-by: Serhiy Storchaka <[email protected]>
  • Loading branch information
skirpichev and serhiy-storchaka authored Jul 3, 2025
commit 387090a78ece102a7009a793f97da3051e7fe5c8
2 changes: 1 addition & 1 deletion Lib/_pydecimal.py
Original file line number Diff line number Diff line change
Expand Up @@ -6123,7 +6123,7 @@ def _convert_for_comparison(self, other, equality_op=False):
(?P<minimumwidth>\d+)?
(?P<thousands_sep>[,_])?
(?:\.
(?=\d|[,_]) # lookahead for digit or separator
(?=[\d,_]) # lookahead for digit or separator
(?P<precision>\d+)?
(?P<frac_separators>[,_])?
)?
Expand Down
Loading