[New-bugs-announce] [issue38467] Misspelled argument names for typing.get_origin and get_args

Sebastian Rittau report at bugs.python.org
Sun Oct 13 12:04:33 EDT 2019


New submission from Sebastian Rittau <srittau at rittau.biz>:

The arguments for typing.get_origin() and typing.get_args() are named "typ" in the documentation (https://docs.python.org/3.8/library/typing.html#typing.get_origin), while they are named "tp" in the implementation. Important if used as keyword argument.

----------
assignee: docs at python
components: Documentation
messages: 354590
nosy: docs at python, srittau
priority: normal
severity: normal
status: open
title: Misspelled argument names for typing.get_origin and get_args
versions: Python 3.8

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


More information about the New-bugs-announce mailing list