]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-47152: Remove unused import in re (GH-32298)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 4 Apr 2022 09:00:53 +0000 (12:00 +0300)
committerGitHub <noreply@github.com>
Mon, 4 Apr 2022 09:00:53 +0000 (12:00 +0300)
Lib/re/__init__.py

index c47a2650e32f5fb89d202cd6d0fe0933d6cdbe53..b887722bbb2cdfd515e09db04f5141124f438aba 100644 (file)
@@ -124,10 +124,6 @@ This module also defines an exception 'error'.
 import enum
 from . import _compiler, _parser
 import functools
-try:
-    import _locale
-except ImportError:
-    _locale = None
 
 
 # public symbols