Skip to content

Commit 4738117

Browse files
committed
using raw strings for regexps is always a good practice
1 parent 4bbc38f commit 4738117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

larray/core/group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def irange(start, stop, step=None):
7777
return range(start, stop, step)
7878

7979

80-
_range_bound_pattern = re.compile('([0-9]+|[a-zA-Z]+)')
80+
_range_bound_pattern = re.compile(r'([0-9]+|[a-zA-Z]+)')
8181

8282

8383
def generalized_range(start, stop, step=1):

0 commit comments

Comments
 (0)