diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2007-08-30 10:21:51 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2007-08-30 10:21:51 (GMT) |
commit | d24fdbcff39d4470b4e4813e95f9e7b57078aa1f (patch) | |
tree | d6a1982cb487caa868ba10febe8949aa9aeee47a | |
parent | a79f1254ff4658776f1b41b98e0fb8548694fe2a (diff) | |
download | cpython-d24fdbcff39d4470b4e4813e95f9e7b57078aa1f.zip cpython-d24fdbcff39d4470b4e4813e95f9e7b57078aa1f.tar.gz cpython-d24fdbcff39d4470b4e4813e95f9e7b57078aa1f.tar.bz2 |
Use s# instead of t# for nis_match.
-rw-r--r-- | Modules/nismodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/nismodule.c b/Modules/nismodule.c index 859042f..bf2d185 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)) |