Anton Grübel <anton.grue...@googlemail.com> added the comment: I know that :) , it is just weird to do also do the type check on an empty string, which can be replaced with str directly, but as far as I know it is usually better to use isinstance instead of type.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44711> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com