[issue43094] sqlite3 signature discrepancies between documentation and implementation

Erlend Egeberg Aasland report at bugs.python.org
Wed Feb 10 16:07:23 EST 2021


Erlend Egeberg Aasland <erlend.aasland at innova.no> added the comment:

sqlite3.Connection.set_progress_handler()

docs: set_progress_handler(handler, n)
impl: set_progress_handler(progress_handler, n)


Apart from that, the rest of sqlite3.Connection seems to be ok.

There's an ongoing discussion at python-dev about how to resolve this issue. I'm in favour of normalising the create_*() methods to be positional only (like create_collation() is now).

sqlite3.Cursor and sqlite3.Row methods seems to be ok as well.

----------
title: Update sqlite3 docs and docstrings to reflect implementation -> sqlite3 signature discrepancies between documentation and implementation

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43094>
_______________________________________


More information about the Python-bugs-list mailing list