From d42a99d594692d7160ecfe8b981109df9015e749 Mon Sep 17 00:00:00 2001 From: Hoel Bagard Date: Fri, 23 Feb 2024 20:42:08 +0900 Subject: [PATCH] docs: update pipes' example --- wurlitzer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wurlitzer.py b/wurlitzer.py index 632d750..8780102 100644 --- a/wurlitzer.py +++ b/wurlitzer.py @@ -390,7 +390,7 @@ def pipes(stdout=PIPE, stderr=PIPE, encoding=_default_encoding, bufsize=None): Examples -------- - >>> with capture() as (stdout, stderr): + >>> with pipes() as (stdout, stderr): ... printf("C-level stdout") ... output = stdout.read() """