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 1919(usually by Robert Kern).
2020
2121"""
22- from collections import Sequence
22+ from collections . abc import Sequence
2323
2424# perform all external trait imports here
2525from traits import __version__ as traits_version
Original file line number Diff line number Diff line change 66import os
77import sys
88import re
9- from collections import Iterator
9+ from collections . abc import Iterator
1010from warnings import warn
1111
1212from distutils .version import LooseVersion
@@ -34,7 +34,7 @@ def atoi(text):
3434 def natural_keys (text ):
3535 if isinstance (text , tuple ):
3636 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 )]
3838
3939 return sorted (l , key = natural_keys )
4040
You can’t perform that action at this time.
0 commit comments