[issue31040] mimetypes.add_type should complain when you give it an undotted ext

Jim Jewett report at bugs.python.org
Sun Nov 19 09:35:40 EST 2017


Jim Jewett <jimjjewett at gmail.com> added the comment:

Ideally, use .startswith('.') Instead if find, but this is a clear UI fix. First pull request fixes doc, second fixes code. OK to apply both.

----------
nosy: +Jim.Jewett
stage:  -> commit review

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31040>
_______________________________________


More information about the Python-bugs-list mailing list