summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library/2022-05-22-16-08-01.gh-issue-89973.jc-Q4g.rst
blob: 7e61fd7d46a0bb27eed367f688440ca4f9bcbacd (plain)
1
2
3
Fix :exc:`re.error` raised in :mod:`fnmatch` if the pattern contains a
character range with upper bound lower than lower bound (e.g. ``[c-a]``).
Now such ranges are interpreted as empty ranges.