You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems pretty common to check if something is None in Python, but it is a bit awkward (and probably suboptimal) to check pyconvert(Bool, object == Py(nothing)). (Since None is a singleton object in Python, you can just check pointer equality.)
The text was updated successfully, but these errors were encountered:
Seems pretty common to check if something is
None
in Python, but it is a bit awkward (and probably suboptimal) to checkpyconvert(Bool, object == Py(nothing))
. (SinceNone
is a singleton object in Python, you can just check pointer equality.)The text was updated successfully, but these errors were encountered: