From 39df8ab3edb6be883dece5f3c3932e05484aedc0 Mon Sep 17 00:00:00 2001 From: Xuan Date: Fri, 18 Mar 2022 00:09:36 +0800 Subject: [PATCH] [python] fix failed import Mapping on python 3.10 (#16339) Signed-off-by: kXuan --- src/controller/python/chip/tlv/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controller/python/chip/tlv/__init__.py b/src/controller/python/chip/tlv/__init__.py index 962d208872e7a1..20f2bfebd2f2dd 100644 --- a/src/controller/python/chip/tlv/__init__.py +++ b/src/controller/python/chip/tlv/__init__.py @@ -29,7 +29,8 @@ from __future__ import print_function import struct -from collections import Mapping, Sequence, OrderedDict +from collections import OrderedDict +from collections.abc import Mapping, Sequence from enum import Enum TLV_TYPE_SIGNED_INTEGER = 0x00