-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Labels
3.13bugs and security fixesbugs and security fixestopic-sqlite3type-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
sqlite3.connection() returns a custom callable object. But inspect.signature() returns a generic <Signature (*args, **kwargs)> for it:
>>> import inspect, sqlite3
>>> con = sqlite3.connect(':memory:')
>>> con('select 1')
<sqlite3.Statement object at 0x7f76842d2fd0>
>>> inspect.signature(con)
<Signature (*args, **kwargs)>This issue is similar to #118285 and #118402.
Linked PRs
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixestopic-sqlite3type-featureA feature request or enhancementA feature request or enhancement