New submission from Sebastian Rittau <srit...@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@python
components: Documentation
messages: 354590
nosy: docs@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue38467>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to