summaryrefslogtreecommitdiff
path: root/astroid/interpreter
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2021-04-22 21:29:43 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-22 22:36:21 +0200
commitfb41252e26216bf63b8a4b07dba2d6be499341dc (patch)
tree0f5f43b3a291d5a1bdd02064884bcb1437454bf6 /astroid/interpreter
parenta1fa9e32edc71d32bfe5e87d05c29b230a626244 (diff)
downloadastroid-git-fb41252e26216bf63b8a4b07dba2d6be499341dc.tar.gz
Remove backports.functools_lru_cache dependency
Diffstat (limited to 'astroid/interpreter')
-rw-r--r--astroid/interpreter/_import/spec.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/astroid/interpreter/_import/spec.py b/astroid/interpreter/_import/spec.py
index eac74a23..88ded050 100644
--- a/astroid/interpreter/_import/spec.py
+++ b/astroid/interpreter/_import/spec.py
@@ -21,11 +21,7 @@ import importlib.machinery
import os
import sys
import zipimport
-
-try:
- from functools import lru_cache
-except ImportError:
- from backports.functools_lru_cache import lru_cache
+from functools import lru_cache
from . import util