bpo-47152: Remove unused import in re (GH-32298)
April 4, 2022
9 a.m.
https://github.com/python/cpython/commit/ff2cf1d7d5fb25224f3ff2e0c678d36f78e... commit: ff2cf1d7d5fb25224f3ff2e0c678d36f78e1f3cb branch: main author: Serhiy Storchaka <storchaka@gmail.com> committer: serhiy-storchaka <storchaka@gmail.com> date: 2022-04-04T12:00:53+03:00 summary: bpo-47152: Remove unused import in re (GH-32298) files: M Lib/re/__init__.py diff --git a/Lib/re/__init__.py b/Lib/re/__init__.py index c47a2650e32f5..b887722bbb2cd 100644 --- a/Lib/re/__init__.py +++ b/Lib/re/__init__.py @@ -124,10 +124,6 @@ import enum from . import _compiler, _parser import functools -try: - import _locale -except ImportError: - _locale = None # public symbols
1025
Age (days ago)
1025
Last active (days ago)
0 comments
1 participants
participants (1)
-
serhiy-storchaka