#mypy #python

Teacher:
Let's look at this code:
`comment: str = None`
Is the type correct?
mypy:
Yes, everything is just fine!

Follow

@alexcleac I can’t reproduce with that line by itself. Was it part of a larger block of code?

· · Web · 1 · 0 · 0

@cagatayy That was some time ago. Maybe this one is already fixed :)

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!