From: Serhiy Storchaka Date: Mon, 4 Apr 2022 09:00:53 +0000 (+0300) Subject: bpo-47152: Remove unused import in re (GH-32298) X-Git-Tag: v3.11.0a7~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ff2cf1d7d5fb25224f3ff2e0c678d36f78e1f3cb;p=thirdparty%2FPython%2Fcpython.git bpo-47152: Remove unused import in re (GH-32298) --- diff --git a/Lib/re/__init__.py b/Lib/re/__init__.py index c47a2650e32f..b887722bbb2c 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