Skip to content

Commit b66f1f0

Browse files
committed
comment
1 parent c8c116c commit b66f1f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rich/console.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2028,7 +2028,7 @@ def _check_buffer(self) -> None:
20282028
# https://github.com/python/cpython/issues/82052
20292029
# We need to avoid writing more than 32Kb in a single write, due to the above bug
20302030
write = self.file.write
2031-
# Worse case scenario, every character is a bytes of utf-8
2031+
# Worse case scenario, every character is 4 bytes of utf-8
20322032
MAX_WRITE = 32 * 1024 // 4
20332033
try:
20342034
if len(text) <= MAX_WRITE:

0 commit comments

Comments
 (0)