From d80c417ea99f2ece50ebb5b7f007b2fae3d8fb6a Mon Sep 17 00:00:00 2001 From: pierre Date: Thu, 28 Apr 2022 09:49:58 +0200 Subject: [PATCH] remove deprecation warning. From Matthieu Guionnet --- configparser.py | 2 +- configparser_helpers.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: -- 2.7.4