-
I'm not sure if this is intended behaviour or not: When checking referential equality to def example(x: object):
if x is ...:
reveal_type(x) # Pylance: Type of "x" is "None" |
Beta Was this translation helpful? Give feedback.
Answered by
erictraut
Sep 9, 2024
Replies: 1 comment
-
Yes, that's a bug. Thanks for reporting it. This will be addressed in the next release. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
robert-bn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, that's a bug. Thanks for reporting it. This will be addressed in the next release.