Skip to content

Commit ce4d9f3

Browse files
committed
docstring
1 parent 2d7a94d commit ce4d9f3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

rich/console.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2026,11 +2026,7 @@ def _check_buffer(self) -> None:
20262026
self.on_broken_pipe()
20272027

20282028
def _write_buffer(self) -> None:
2029-
"""Check if the buffer may be rendered. Render it if it can (e.g. Console.quiet is False)
2030-
Rendering is supported on Windows, Unix and Jupyter environments. For
2031-
legacy Windows consoles, the win32 API is called directly.
2032-
This method will also record what it renders if recording is enabled via Console.record.
2033-
"""
2029+
"""Write the buffer to the output file."""
20342030

20352031
with self._lock:
20362032
if self.record:

0 commit comments

Comments
 (0)