]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix an incorrect comment in iobase_is_closed (GH-102952)
authorJonathon Reinhart <JonathonReinhart@users.noreply.github.com>
Tue, 16 Jan 2024 16:27:17 +0000 (11:27 -0500)
committerGitHub <noreply@github.com>
Tue, 16 Jan 2024 16:27:17 +0000 (18:27 +0200)
commite454f9383c5ea629a917dfea791da0bb92b90d8e
treef41eb747f0330aa91b5efa1a99ed4aaaa23fbe09
parentc77f552ec02040dfe14a0a3cb743d96eedffadec
Fix an incorrect comment in iobase_is_closed (GH-102952)

This comment appears to have been mistakenly copied from what is now
called iobase_check_closed() in commit 4d9aec022063.

Also unite the iobase_check_closed() code with the relevant comment.

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Modules/_io/iobase.c