python: both METH_VARARGS METH_KEYWORDS needed in ml_flags should fix #1171