From 35b4a01b6d941d7d6f1b8040db6037c53f713aa1 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 17 Sep 2016 15:36:19 -0400 Subject: [PATCH] Fix "invalid escape sequence" warning in Python 3.6 http://bugs.python.org/issue27364 --- lib/extras.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/extras.py b/lib/extras.py index 5c4f5d2a..7fc853a6 100644 --- a/lib/extras.py +++ b/lib/extras.py @@ -908,7 +908,7 @@ WHERE typname = 'hstore'; def register_hstore(conn_or_curs, globally=False, unicode=False, oid=None, array_oid=None): - """Register adapter and typecaster for `!dict`\-\ |hstore| conversions. + r"""Register adapter and typecaster for `!dict`\-\ |hstore| conversions. :param conn_or_curs: a connection or cursor: the typecaster will be registered only on this object unless *globally* is set to `!True`