3 ms·
Not sure about "best" practices, but Pycharm (a popular Python IDE) will warn about the wrong type in such cases.
by benttoothpaste 5y ago
Not sure about "best" practices, but Pycharm (a popular Python IDE) will warn about the wrong type in such cases.