yesno arg is optional
|Reported by:||CarlFK||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
"Given a string mapping values for true, false and (optionally) None, returns one of those strings according to the value:"
Looking at the code, I see the string is optional.
if arg is None:
arg = ugettext('yes,no,maybe')
Change History (3)
comment:1 Changed 4 years ago by julien
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
- Type changed from Uncategorized to Cleanup/optimization