Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 9307:928ea5a409e5 legacy-trunk
Use the t# format where appropriate. Greg Stein.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 08 Oct 1998 02:25:24 +0000 |
| parents | 07dae6fdae79 |
| children | 38023a425e48 |
line wrap: on
line diff
--- a/Modules/socketmodule.c Thu Oct 08 02:21:21 1998 +0000 +++ b/Modules/socketmodule.c Thu Oct 08 02:25:24 1998 +0000 @@ -472,7 +472,7 @@ char *path; int len; addr = (struct sockaddr_un* )&(s->sock_addr).un; - if (!PyArg_Parse(args, "s#", &path, &len)) + if (!PyArg_Parse(args, "t#", &path, &len)) return 0; if (len > sizeof addr->sun_path) { PyErr_SetString(PySocket_Error,
