Use s# instead of t# for nis_match.

This commit is contained in:
Martin v. Löwis 2007-08-30 10:21:51 +00:00
parent a79f1254ff
commit d24fdbcff3
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ nis_match (PyObject *self, PyObject *args, PyObject *kwdict)
static char *kwlist[] = {"key", "map", "domain", NULL}; static char *kwlist[] = {"key", "map", "domain", NULL};
if (!PyArg_ParseTupleAndKeywords(args, kwdict, if (!PyArg_ParseTupleAndKeywords(args, kwdict,
"t#s|s:match", kwlist, "s#s|s:match", kwlist,
&key, &keylen, &map, &domain)) &key, &keylen, &map, &domain))
return NULL; return NULL;
if (!domain && ((err = yp_get_default_domain(&domain)) != 0)) if (!domain && ((err = yp_get_default_domain(&domain)) != 0))