mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-18 03:51:24 +08:00
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:
1 parent
b95b729b9e
commit
98e5112195
3 files changed
+35
-78
No files matched your search
@@ -1,2 +1 @@
|
||||
version = "1.0.*"
|
||||
python2 = true
|
||||
Reference in new issue
Block a user