[New-bugs-announce] [issue20011] Changing the signature for Parameter's constructor
Antony Lee
report at bugs.python.org
Wed Dec 18 01:04:43 CET 2013
New submission from Antony Lee:
As suggested on python-ideas, this small patch changes the constructor of inspect.Parameter so that "kind" defaults to "POSITIONAL_OR_KEYWORD", which should make code that needs to construct Parameter objects slightly less verbose (as I believe POSITIONAL_OR_KEYWORD is likely the most common kind).
----------
components: Library (Lib)
files: parameter-constructor.patch
keywords: patch
messages: 206490
nosy: Antony.Lee
priority: normal
severity: normal
status: open
title: Changing the signature for Parameter's constructor
versions: Python 3.5
Added file: http://bugs.python.org/file33183/parameter-constructor.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20011>
_______________________________________
More information about the New-bugs-announce
mailing list