From 0b5022695dc2da9137e5d9b2ff0106c5f65290aa Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Wed, 20 Sep 2023 22:38:44 +0300 Subject: [PATCH] Add support for Python 3.12 --- argcomplete/_check_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argcomplete/_check_module.py b/argcomplete/_check_module.py index 4958f026..0d9fb8f4 100644 --- a/argcomplete/_check_module.py +++ b/argcomplete/_check_module.py @@ -15,7 +15,7 @@ except ImportError: import typing as t from collections import namedtuple - from imp import find_module + from imp import find_module # type:ignore ModuleSpec = namedtuple("ModuleSpec", ["origin", "has_location", "submodule_search_locations"])