We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b34424 commit 3167897Copy full SHA for 3167897
bpython/lazyre.py
@@ -21,14 +21,10 @@
21
# THE SOFTWARE.
22
23
import re
24
-from typing import Optional, Optional
25
from collections.abc import Iterator
+from functools import cached_property
26
from re import Pattern, Match
27
-
28
-try:
29
- from functools import cached_property
30
-except ImportError:
31
- from backports.cached_property import cached_property # type: ignore [no-redef]
+from typing import Optional, Optional
32
33
34
class LazyReCompile:
0 commit comments