From dc5ed668158848289e5fa27a5ef834793a4e3b8c Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Mon, 11 Jan 2021 12:31:08 -0500 Subject: [PATCH] docstring --- src/allmydata/windows/fixups.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/allmydata/windows/fixups.py b/src/allmydata/windows/fixups.py index 818551eb4..9249f9d80 100644 --- a/src/allmydata/windows/fixups.py +++ b/src/allmydata/windows/fixups.py @@ -193,6 +193,11 @@ def initialize(): class UnicodeOutput(object): + """ + ``UnicodeOutput`` is a file-like object that encodes unicode to UTF-8 and + writes it to another file or writes unicode natively to the Windows + console. + """ def __init__(self, hConsole, stream, fileno, name, _complain): self._hConsole = hConsole self._stream = stream