class documentation
File-like object that pages output through external pager programs.
| Method | __enter__ |
Context manager entry. |
| Method | __exit__ |
Context manager exit. |
| Method | __init__ |
Initialize Pager. |
| 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 pager is a TTY. |
| Method | read |
Read from the pager (not supported). |
| Method | readable |
Return whether the pager is readable (it's not). |
| Method | readline |
Read a line from the pager (not supported). |
| Method | readlines |
Read lines from the pager (not supported). |
| Method | seek |
Seek in the pager (not supported). |
| Method | seekable |
Return whether the pager is seekable (it's not). |
| Method | tell |
Return the current position (not supported). |
| Method | truncate |
Truncate the pager (not supported). |
| Method | writable |
Return whether the pager is writable. |
| Method | write |
Write text to the pager. |
| Method | writelines |
Write a list of lines to the pager. |
| Instance Variable | pager |
Undocumented |
| Instance Variable | pager |
Undocumented |
| Property | buffer |
Return the underlying binary buffer. |
| Property | closed |
Return whether the pager is closed. |
| Property | encoding |
Return the encoding used. |
| Property | errors |
Return the error handling scheme. |
| Property | line |
Return whether line buffering is enabled. |
| Property | mode |
Return the mode. |
| Property | name |
Return the name. |
| Property | newlines |
Return the newlines mode. |
| Method | _ensure |
Start the pager process if not already started. |
| Method | _get |
Get the pager command to use. |
| Instance Variable | _buffer |
Undocumented |
| Instance Variable | _closed |
Undocumented |
| Instance Variable | _pager |
Undocumented |
def __exit__(self, exc_type:
type | None, exc_val: BaseException | None, exc_tb: types.TracebackType | None):
¶
Context manager exit.