2 ms·
Well, that's kind of the inverse of writing switch statements like def license(kernel): return {"Linux": "GPL", "FreeBSD": "BSD",
by geofft 7y ago
Well, that's kind of the inverse of writing switch statements like
def license(kernel):
return {"Linux": "GPL",
"FreeBSD": "BSD",
"NT": "Proprietary"}[kernel]