This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author aeltawela
Recipients aeltawela, docs@python
Date 2020-07-12.09:20:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594545631.96.0.481890798822.issue41283@roundup.psfhosted.org>
In-reply-to
Content
I noticed the parameter name for imghdr.what in the documentation is wrong

Link: https://docs.python.org/3.8/library/imghdr.html?highlight=imghdr
function imghdr.what(filename, h=None)

In reality:
def what(file, h=None):

It is 'file' not 'filename'.
History
Date User Action Args
2020-07-12 09:20:32aeltawelasetrecipients: + aeltawela, docs@python
2020-07-12 09:20:31aeltawelasetmessageid: <1594545631.96.0.481890798822.issue41283@roundup.psfhosted.org>
2020-07-12 09:20:31aeltawelalinkissue41283 messages
2020-07-12 09:20:31aeltawelacreate