def _rstrip_inplace(array, chars=None):

    for item in np.nditer(array, flags=['zerosize_ok'],
                                 op_flags=['readwrite']):
        item[...] = item.item().rstrip(chars)
Get raw environ as dict, both key, value are str.
dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/fitsrec.py/_rstrip_inplace--crossover with--dataset/ETHPy150Open michaelliao/transwarp/transwarp/web.py/Request.environ