mirror of
https://github.com/github/codeql.git
synced 2025-12-25 05:06:34 +01:00
7 lines
431 B
Python
7 lines
431 B
Python
|
|
def __init__(self, name, choices=[], default=[], shortDesc=None,
|
|
longDesc=None, hints=None, allowNone=1): # 'default' parameter assigned a value
|
|
self.choices = choices
|
|
if choices and not default:
|
|
default.append(choices[0][1]) # value of 'default' parameter modified
|
|
Argument.__init__(self, name, default, shortDesc, longDesc, hints, allowNone=allowNone) |