Improve sqlite3 types (#7641)

Read through the code in CPython and made the types more precise
where possible.

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
This commit is contained in:
Jelle Zijlstra
2022-04-16 11:20:11 -07:00
committed by GitHub
parent 2e98c8284c
commit b0611bc031
2 changed files with 130 additions and 90 deletions

View File

@@ -1,8 +1,3 @@
sqlite3.Connection.enable_load_extension
sqlite3.Connection.load_extension
sqlite3.dbapi2.Connection.enable_load_extension
sqlite3.dbapi2.Connection.load_extension
# pathlib methods that exist on Windows, but always raise NotImplementedError,
# so are omitted from the stub
pathlib.WindowsPath.is_mount