[issue37150] Do not allow to pass FileType class object instead of instance in add_argument

miss-islington report at bugs.python.org
Fri Jun 7 17:12:04 EDT 2019


miss-islington <mariatta.wijaya+miss-islington at gmail.com> added the comment:


New changeset 606ac581e2451c420117c55632f0fe13d4cec2cd by Miss Islington (bot) in branch '3.8':
bpo-37150: Throw ValueError if FileType class object was passed in add_argument (GH-13805)
https://github.com/python/cpython/commit/606ac581e2451c420117c55632f0fe13d4cec2cd


----------

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


More information about the Python-bugs-list mailing list