fix typo; thanks to Dmitry Northerner from docs@
Issue #14018: fix merge error
Issue #13886: Fix input() to not strip out supposedly-invalid input bytes.