penguin_wwy <940375606 at qq.com> added the comment: Sorry, parameter type is `TextIOWrapper`, not `TestIOWrapper` ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue45928> _______________________________________