### Description File & line: `pwnlib/term/readline.py:382`. ```python if not term_mode: print(prompt, end='', flush=True) return getattr(sys.stdin, 'buffer', sys.stdin).readline(_size).rstrip(b'\n') ``` `pwnlib.term.readline` calls `rstrip(b'\n')` on the result of `sys.stdin.readline(...)`. Because `rstrip()` is defined for `str` and its overloads only accept `str | None`, passing a **`bytes`** literal (`b'\n'`) may trigger a type error : **Versions**: * pwntools :4.12.0 * python: 3.9.13 * system: Ubuntu 22.04