Improve pymysql.converters stubs (#6267)

I spent far too much time being confused about why pyanalyze thought `pymysql.converters.escape_dict` only takes two arguments.

I rewrote the stubs from scratch using the implementation: https://github.com/PyMySQL/PyMySQL/blob/main/pymysql/converters.py.

The "charset" argument is ignored as far as I can tell; it gets passed to other functions but no function actually uses it.

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
This commit is contained in:
Jelle ZijlstraandSebastian Rittau authored and GitHub committed 2021-11-09 07:57:29 -08:00
1 parent b95b729b9e
commit 98e5112195
3 files changed
+35 -78

No files matched your search

-1
View File
@@ -1,2 +1 @@
version = "1.0.*"
python2 = true