8 ms·
PyCharm would highlight that error as a yellow warning if you correctly define the types of the arguments for "something". This would also not be accepted by m
by heavenlyblue 8y ago
PyCharm would highlight that error as a yellow warning if you correctly define the types of the arguments for "something".
This would also not be accepted by mypy.
- msluyter 8y agoIirc this was pre type hints, so the example might be invalid now, but I’m sure I could come up with other examples that demonstrate the same point.