Andrei Kulakov <andrei....@gmail.com> added the comment:
I was wrong that the method is undocumented, it is documented but it doesn't explain the type of *headers* param. The headers can also be more easily created using `email.message.Message()`. I've added the PR documenting this param. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45572> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com