Skip to content

Commit

Permalink
Fix deprecation warnings due to invalid escape sequences. (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
tirkarthi committed Jun 1, 2020
1 parent 068386c commit 2f959d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion petl/util/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ def expr(s):
"""

prog = re.compile('\{([^}]+)\}')
prog = re.compile(r'\{([^}]+)\}')

def repl(matchobj):
return "rec['%s']" % matchobj.group(1)
Expand Down

0 comments on commit 2f959d4

Please sign in to comment.