Skip to content

Commit 1e91ce4

Browse files
hroncokcmaloney
andauthored
Update Misc/NEWS.d/next/Library/2025-11-18-14-39-31.gh-issue-141570.q3n984.rst
Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
1 parent ae077f0 commit 1e91ce4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
In ``_colorize.can_colorize``, support file objects rising
2-
:exc:`OSError` from the :meth:`~io.IOBase.fileno` method, as docuemtned. An
3-
example of such an object is a ``mod_wsgi`` logger.
1+
Support :term:`file-like object` raising :exc:`OSError` from :meth:`~io.IOBase.fileno` in color
2+
detection (``_colorize.can_colorize``). This can occur when `sys.stdout` is redirected.

0 commit comments

Comments
 (0)