//usr/lib/python3/dist-packages/pexpect/utils.py