File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 19
19
(usually by Robert Kern).
20
20
21
21
"""
22
- from collections import Sequence
22
+ from collections . abc import Sequence
23
23
24
24
# perform all external trait imports here
25
25
from traits import __version__ as traits_version
Original file line number Diff line number Diff line change 6
6
import os
7
7
import sys
8
8
import re
9
- from collections import Iterator
9
+ from collections . abc import Iterator
10
10
from warnings import warn
11
11
12
12
from distutils .version import LooseVersion
@@ -34,7 +34,7 @@ def atoi(text):
34
34
def natural_keys (text ):
35
35
if isinstance (text , tuple ):
36
36
text = text [0 ]
37
- return [atoi (c ) for c in re .split ("(\d+)" , text )]
37
+ return [atoi (c ) for c in re .split (r "(\d+)" , text )]
38
38
39
39
return sorted (l , key = natural_keys )
40
40
You can’t perform that action at this time.
0 commit comments