-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Closed
Copy link
Labels
Description
See #93057 (comment):
[...] we have some technical dept when it comes to
sqlite3.connectandsqlite3.Connection.__init__. Currently, the latter uses clinic, and the former does not use clinic. However, it issqlite3.connectthat needs the docstring, notsqlite3.Connection.__init__. We should make it so that the docstring fromsqlite3.Connection.__init__is used forsqlite3.connectand output to a separate file, for inclusion by Module/_sqlite/module.c.
Previously, the two argument specs needed to be kept in sync manually. Some fairly recent changes improved this, but we still need to keep the docstring and methoddef of sqlite3.connect up to date manually.
Linked PRs
- gh-107938: Synchonise the signature of of sqlite3.connect and sqlite3.Connection.__init__ #107939
- [3.12] gh-107938: Synchonise the signature of of sqlite3.connect and sqlite3.Connection.__init__ (GH-107939) #107943
- [3.11] gh-107938: Synchonise the signature of of sqlite3.connect and sqlite3.Connection.__init__ (#107939) #107946