mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-08-04 04:10:09 +03:00
Use python3 notation for keyword-only arguments.
Sure, python2 users can understand that form. The current version doesn't points the fact that args are keyword-only at all. I read it as: you can use it like .set_session(isolation_level) or .set_session(readonly) which is definitelly wrong.
This commit is contained in:
parent
9036299d54
commit
e22c8a17fa
|
@ -348,7 +348,7 @@ The ``connection`` class
|
|||
pair: Transaction; Autocommit
|
||||
pair: Transaction; Isolation level
|
||||
|
||||
.. method:: set_session([isolation_level,] [readonly,] [deferrable,] [autocommit])
|
||||
.. method:: set_session(*, isolation_level, readonly, deferrable, autocommit)
|
||||
|
||||
Set one or more parameters for the next transactions or statements in
|
||||
the current session. See |SET TRANSACTION|_ for further details.
|
||||
|
|
Loading…
Reference in New Issue
Block a user