def make_string_buffer(string):
    if isinstance(string, six.text_type):
        buf = StringIO()
    else:
        buf = io.BytesIO()
    buf.write(string)
    buf.seek(0)
    return buf
Prints the last word after popping it off.
dataset/ETHPy150Open ipfs/py-ipfs-api/ipfsApi/utils.py/make_string_buffer--crossover with--dataset/ETHPy150Open Akagi201/learning-python/lpthw/ex25.py/print_last_word