mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-19 23:09:55 +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,2 +1 @@
|
||||
version = "1.0.*"
|
||||
python2 = true
|
||||
|
||||
Reference in New Issue
Block a user