From 0e69b4de182400ac5cc0bb3594927dbf369989c6 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 2713d6fc..8e8042fd 100644 --- a/lib/extras.py +++ b/lib/extras.py @@ -744,7 +744,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`