Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Feature or enhancement
sqlite3.connection() returns a custom callable object. Butinspect.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.