class documentation
Binary buffer wrapper for Pager to mimic sys.stdout.buffer.
| Method | __enter__ |
Enter context manager. |
| Method | __exit__ |
Exit context manager. |
| Method | __init__ |
Initialize PagerBuffer. |
| Method | __iter__ |
Return iterator (not supported). |
| Method | __next__ |
Return next line (not supported). |
| Method | close |
Close the pager. |
| Method | fileno |
Return the file descriptor (not supported). |
| Method | flush |
Flush the pager. |
| Method | isatty |
Return whether the buffer is a TTY. |
| Method | read |
Read from the buffer (not supported). |
| Method | read1 |
Read from the buffer (not supported). |
| Method | readable |
Return whether the buffer is readable (it's not). |
| Method | readinto |
Read into buffer (not supported). |
| Method | readinto1 |
Read into buffer (not supported). |
| Method | readline |
Read a line from the buffer (not supported). |
| Method | readlines |
Read lines from the buffer (not supported). |
| Method | seek |
Seek in the buffer (not supported). |
| Method | seekable |
Return whether the buffer is seekable (it's not). |
| Method | tell |
Return the current position (not supported). |
| Method | truncate |
Truncate the buffer (not supported). |
| Method | writable |
Return whether the buffer is writable. |
| Method | write |
Write bytes to pager. |
| Method | writelines |
Write multiple lines to pager. |
| Instance Variable | pager |
Undocumented |
| Property | closed |
Return whether the buffer is closed. |
| Property | mode |
Return the mode. |
| Property | name |
Return the name. |
def __exit__(self, exc_type:
type[ BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None):
¶
Exit context manager.