Issue #26987: Correct implementation to match comment

This was inadvertently changed in 644b677c2ae5 to use self._stderr
instead of _sys.stderr.
1 file changed