[issue43094] sqlite3.create_function takes parameter named narg, not num_params
Erlend Egeberg Aasland
report at bugs.python.org
Mon Feb 1 17:34:47 EST 2021
Erlend Egeberg Aasland <erlend.aasland at innova.no> added the comment:
There's also a discrepancy between the docs and the signature for create_aggregate():
https://docs.python.org/3.9/library/sqlite3.html#sqlite3.Connection.create_aggregate
create_aggregate(name, num_params, aggregate_class)
The second parameter is named n_arg, here with an underscore.
I'm not sure what's the best fix; fixing the docs or the signatures. If we fix the signatures, we'll at least get a kind of consistency.
----------
nosy: +berker.peksag, erlendaasland
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43094>
_______________________________________
More information about the Python-bugs-list
mailing list