From: pierre Date: Thu, 28 Apr 2022 07:49:58 +0000 (+0200) Subject: remove deprecation warning. From Matthieu Guionnet X-Git-Url: http://www.iramuteq.org/git?p=iramuteq;a=commitdiff_plain;h=d80c417ea99f2ece50ebb5b7f007b2fae3d8fb6a remove deprecation warning. From Matthieu Guionnet --- diff --git a/configparser.py b/configparser.py index d924d29..5a52260 100644 --- a/configparser.py +++ b/configparser.py @@ -125,7 +125,7 @@ ConfigParser -- responsible for parsing a list of #------------------------------------ # import des modules python #------------------------------------ -from collections import MutableMapping +from collections.abc import MutableMapping import io import itertools import re diff --git a/configparser_helpers.py b/configparser_helpers.py index 0536bf5..984b4a1 100644 --- a/configparser_helpers.py +++ b/configparser_helpers.py @@ -5,7 +5,7 @@ #------------------------------------ # import des modules python #------------------------------------ -from collections import MutableMapping +from collections.abc import MutableMapping try: