Fix python 3.6 escape char warnings in strings
In python 3.6, escape sequences that are not
recognized in string literals issue DeprecationWarnings.
Convert these to raw strings.
(This is the second patch for this -- it fixes one that shows
up during doc builds.)
@@ -41,7 +41,7 @@ class EvalConstant(object):
def eval(self):
result = self.value
if (isinstance(result, six.string_types) and
- re.match("^[a-zA-Z_]+\.[a-zA-Z_]+$", result)):
+ re.match(r"^[a-zA-Z_]+\.[a-zA-Z_]+$", result)):
(which_dict, entry) = result.split('.')
try:
result = _vars[which_dict][entry]
