summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2007-08-30 10:21:51 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2007-08-30 10:21:51 (GMT)
commitd24fdbcff39d4470b4e4813e95f9e7b57078aa1f (patch)
treed6a1982cb487caa868ba10febe8949aa9aeee47a /Modules
parenta79f1254ff4658776f1b41b98e0fb8548694fe2a (diff)
downloadcpython-d24fdbcff39d4470b4e4813e95f9e7b57078aa1f.zip
cpython-d24fdbcff39d4470b4e4813e95f9e7b57078aa1f.tar.gz
cpython-d24fdbcff39d4470b4e4813e95f9e7b57078aa1f.tar.bz2
Use s# instead of t# for nis_match.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/nismodule.c2
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))