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 and pull[bot] committed Jan 9, 2024
1 parent a313c6c commit 1167427
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 1167427

Please sign in to comment.