This might be a stupid question, but what exactly is the is
function, and when would one use it?
From the context, i guess i could infer that it's equivalent to ==
; but if that's the case, why have both? The Built-in Functions Reference shows nothing, and help(is)
returns a SyntaxError
.