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 Zijlstra
2021-11-09 07:57:29 -08:00
committed by GitHub
parent b95b729b9e
commit 98e5112195
3 changed files with 35 additions and 78 deletions
-1
View File
@@ -1,2 +1 @@
version = "1.0.*"
python2 = true