summaryrefslogtreecommitdiff
path: root/lib/extras.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-09-17 15:36:19 -0400
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2016-12-25 20:43:29 +0100
commit35b4a01b6d941d7d6f1b8040db6037c53f713aa1 (patch)
treeb0cda5c3adfd6e1cade475a18581061d7e2abf72 /lib/extras.py
parent1c3e2be2248e50699c5d141981f2dc2793af682e (diff)
downloadpsycopg2-35b4a01b6d941d7d6f1b8040db6037c53f713aa1.tar.gz
Fix "invalid escape sequence" warning in Python 3.6
http://bugs.python.org/issue27364
Diffstat (limited to 'lib/extras.py')
-rw-r--r--lib/extras.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extras.py b/lib/extras.py
index 5c4f5d2..7fc853a 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`