mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 08:56:34 +03:00
Fix "invalid escape sequence" warning in Python 3.6
http://bugs.python.org/issue27364
This commit is contained in:
parent
1c3e2be224
commit
35b4a01b6d
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue
Block a user