gh-114678: Fix incorrect deprecation warning for 'N' specifier in Decimal format (GH-114683)

Co-authored-by: Stefan Krah <skrah@bytereef.org>
This commit is contained in:
Serhiy Storchaka 2024-01-29 19:58:31 +02:00 committed by GitHub
parent 0cd9bacb8a
commit aa3402ad45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 20 additions and 7 deletions

View file

@ -0,0 +1,3 @@
Ensure that deprecation warning for 'N' specifier in :class:`~decimal.Decimal`
format is not raised for cases where 'N' appears in other places
in the format specifier. Based on patch by Stefan Krah.