DOC: explicit BytesIO and print function syntax