Pynvml bindings broken

The following bindings in nvidia-ml-py for python contain errors in their implementation:
nvmlDeviceGetGpcClkMinMaxVfOffset
nvmlDeviceGetMemClkMinMaxVfOffset

The way they are set up at the moment makes them take 3 parameters in python when it should be only the device handle.

The correct implementation in pynvml.py should be:

def nvmlDeviceGetGpcClkMinMaxVfOffset(device):
minOffset = c_int32()
maxOffset = c_int32()
fn = _nvmlGetFunctionPointer(“nvmlDeviceGetGpcClkMinMaxVfOffset”)
ret = fn(device, byref(minOffset), byref(maxOffset))
_nvmlCheckReturn(ret)
return ret

def nvmlDeviceGetMemClkMinMaxVfOffset(device):
minOffset = c_int32()
maxOffset = c_int32()
fn = _nvmlGetFunctionPointer(“nvmlDeviceGetMemClkMinMaxVfOffset”)
ret = fn(device, byref(minOffset), byref(maxOffset))
_nvmlCheckReturn(ret)
return ret