We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 462efa8 + 479cda2 commit df79c60Copy full SHA for df79c60
pythreejs/traits.py
@@ -1,7 +1,11 @@
1
#!/usr/bin/env python
2
# -*- coding: utf-8 -*-
3
4
-from collections import namedtuple, Sequence
+from collections import namedtuple
5
+try:
6
+ from collections.abc import Sequence # python3
7
+except ImportError:
8
+ from collections import Sequence # python2
9
import six
10
import re
11
import warnings
0 commit comments