4 ms·
`is` is also useful for things like detecting cycles for walking object graphs. But I'd estimate 99% of the times I've used `is` was for comparisons to `None`,
by gvx 9y ago
`is` is also useful for things like detecting cycles for walking object graphs.
But I'd estimate 99% of the times I've used `is` was for comparisons to `None`, and 90% of the rest of times for comparisons to other sentinel values.