From: Martin v. Löwis Date: Thu, 30 Aug 2007 10:21:51 +0000 (+0000) Subject: Use s# instead of t# for nis_match. X-Git-Tag: v3.0a1~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d24fdbcff39d4470b4e4813e95f9e7b57078aa1f;p=thirdparty%2FPython%2Fcpython.git Use s# instead of t# for nis_match. --- diff --git a/Modules/nismodule.c b/Modules/nismodule.c index 859042f8fd1f..bf2d185c2627 100644 --- a/Modules/nismodule.c +++ b/Modules/nismodule.c @@ -163,7 +163,7 @@ nis_match (PyObject *self, PyObject *args, PyObject *kwdict) static char *kwlist[] = {"key", "map", "domain", NULL}; if (!PyArg_ParseTupleAndKeywords(args, kwdict, - "t#s|s:match", kwlist, + "s#s|s:match", kwlist, &key, &keylen, &map, &domain)) return NULL; if (!domain && ((err = yp_get_default_domain(&domain)) != 0))