j
k
j a
j l
Suppose i have
(lambda x: x if x != None else '')(someVar)
returning an empty string if none
but, if "not" was allowed
(lambda x: x if x not None else '')(someVar)
it might have been more elegant
PROPOSAL: Allow "not" in lambda expressions
Attachments:
Back to the thread
Back to the list