mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
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>