summaryrefslogtreecommitdiff
path: root/isort/natural.py
diff options
context:
space:
mode:
Diffstat (limited to 'isort/natural.py')
-rw-r--r--isort/natural.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/isort/natural.py b/isort/natural.py
index 0529fa60..aac8c4a3 100644
--- a/isort/natural.py
+++ b/isort/natural.py
@@ -33,7 +33,7 @@ def _atoi(text):
def _natural_keys(text):
- return [_atoi(c) for c in re.split('(\d+)', text)]
+ return [_atoi(c) for c in re.split(r'(\d+)', text)]
def nsorted(to_sort, key=None):