Skip to content

Commit

Permalink
[python] fix failed import Mapping on python 3.10 (#16339)
Browse files Browse the repository at this point in the history
Signed-off-by: kXuan <kxuanobj@gmail.com>
  • Loading branch information
Kxuan authored Mar 17, 2022
1 parent 3c8183b commit e5c5a9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/controller/python/chip/tlv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5c5a9e

Please sign in to comment.