[issue41283] The parameter name for imghdr.what in the documentation is wrong

Adam Eltawla report at bugs.python.org
Sun Jul 12 05:20:32 EDT 2020


New submission from Adam Eltawla <bekerpico at gmail.com>:

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'.

----------
assignee: docs at python
components: Documentation
messages: 373551
nosy: aeltawela, docs at python
priority: normal
severity: normal
status: open
title: The parameter name for imghdr.what in the documentation is wrong
type: enhancement
versions: Python 3.8

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


More information about the Python-bugs-list mailing list