diff options
author | Tim Graham <timograham@gmail.com> | 2016-09-17 15:36:19 -0400 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2016-12-25 20:43:29 +0100 |
commit | 35b4a01b6d941d7d6f1b8040db6037c53f713aa1 (patch) | |
tree | b0cda5c3adfd6e1cade475a18581061d7e2abf72 /lib/extras.py | |
parent | 1c3e2be2248e50699c5d141981f2dc2793af682e (diff) | |
download | psycopg2-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.py | 2 |
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` |