Skip to content

Commit 57174d2

Browse files
code-health: remove Sequence compatibility
collections.abc is not a part of collections since Python 3.3 [1]. 1. https://docs.python.org/3/library/collections.abc.html Part of #212
1 parent 5661bed commit 57174d2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Diff for: tarantool/response.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
# pylint: disable=C0301,W0105,W0401,W0614
22

3-
try:
4-
# Python 3.3+
5-
from collections.abc import Sequence
6-
except ImportError:
7-
# Python 2
8-
from collections import Sequence
3+
from collections.abc import Sequence
94

105
import json
116
import msgpack

0 commit comments

Comments
 (0)