summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-04-04 09:00:53 (GMT)
committerGitHub <noreply@github.com>2022-04-04 09:00:53 (GMT)
commitff2cf1d7d5fb25224f3ff2e0c678d36f78e1f3cb (patch)
tree30eb743bf953d71efeacf0a6db7322cba29ef7d5
parent1578f06c1c69fbbb942b90bfbacd512784b599fa (diff)
downloadcpython-ff2cf1d7d5fb25224f3ff2e0c678d36f78e1f3cb.zip
cpython-ff2cf1d7d5fb25224f3ff2e0c678d36f78e1f3cb.tar.gz
cpython-ff2cf1d7d5fb25224f3ff2e0c678d36f78e1f3cb.tar.bz2
bpo-47152: Remove unused import in re (GH-32298)
-rw-r--r--Lib/re/__init__.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/re/__init__.py b/Lib/re/__init__.py
index c47a265..b887722 100644
--- a/Lib/re/__init__.py
+++ b/Lib/re/__init__.py
@@ -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