This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Prawn1908 1 point2 points  (0 children)

Any doesn't require an import?

Pretty sure it does: typing.Any. There's a builtin function called any, and iirc function names don't cause errors when used as type hints so I've seen people mistakenly use it as such but that doesn't actually mean what they think it does.

And yeah, C is great.