From d4f4de215094dc9c1f51427f3d24f66739115470 Mon Sep 17 00:00:00 2001
From: houyingchao <1348375921@qq.com>
Date: Wed, 15 Jun 2022 14:04:57 +0800
Subject: [PATCH] import-from-the-new-abc-module

---
 Cheetah/NameMapper.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Cheetah/NameMapper.py b/Cheetah/NameMapper.py
index 3c16dff..d92cddd 100755
--- a/Cheetah/NameMapper.py
+++ b/Cheetah/NameMapper.py
@@ -140,6 +140,10 @@ Cheetah uses the optimized C version (_namemapper.c) if it has
 been compiled or falls back to the Python version if not.
 """
 
+try:
+    from collections.abc import Mapping
+except ImportError:
+    from collections import Mapping
 import inspect
 from pprint import pformat
 
-- 
2.23.0

