Fix "invalid escape sequence" warning in Python 3.6

http://bugs.python.org/issue27364
This commit is contained in:
Tim Graham 2016-09-17 15:36:19 -04:00 committed by Daniele Varrazzo
parent 1c3e2be224
commit 35b4a01b6d

View File

@ -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`