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

Skip to content

Commit e6dae87

Browse files
Issue #27030: The re.LOCALE flag now can be used only with bytes patterns.
(Just updated NEWS.)
1 parent 9bd85b8 commit e6dae87

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Misc/NEWS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ Library
3939
-------
4040

4141
- Issue #27030: Unknown escapes consisting of ``'\'`` and ASCII letter in
42-
regular expressions now are errors.
42+
regular expressions now are errors. The re.LOCALE flag now can be used
43+
only with bytes patterns.
4344

4445
- Issue #27186: Add os.PathLike support to DirEntry (part of PEP 519).
4546
Initial patch by Jelle Zijlstra.

0 commit comments

Comments
 (0)