Skip to content

Commit bacaaaa

Browse files
Annotate OverrideStdioWith()
1 parent a985dbb commit bacaaaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Tools/clinic/clinic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1579,7 +1579,7 @@ def render_function(self, clinic, f):
15791579

15801580

15811581
@contextlib.contextmanager
1582-
def OverrideStdioWith(stdout):
1582+
def OverrideStdioWith(stdout: io.TextIOWrapper):
15831583
saved_stdout = sys.stdout
15841584
sys.stdout = stdout
15851585
try:

0 commit comments

Comments
 (0)