def _getfd(file):
    if hasattr(file, "fileno"):
        return file.fileno()
    elif type(file) == IntType:
        return file
    else:
        raise TypeError("File object or file descriptor required, but %s "
                        "was provided." % type(file))
Append a new value to the end of the array.
dataset/ETHPy150Open harryliu/edwin/edwinServer/site_packages/ConcurrentLogHandler084/portalocker.py/_getfd--crossover with--dataset/ETHPy150Open coleifer/walrus/walrus/containers.py/Array.append