mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
More changes needed to make things work once bytes and str are truly divorced.
This commit is contained in:
parent
25a29a9534
commit
e22905a06c
7 changed files with 80 additions and 75 deletions
|
@ -1147,7 +1147,7 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args,
|
|||
struct sockaddr_un* addr;
|
||||
char *path;
|
||||
int len;
|
||||
if (!PyArg_Parse(args, "t#", &path, &len))
|
||||
if (!PyArg_Parse(args, "s#", &path, &len))
|
||||
return 0;
|
||||
|
||||
addr = (struct sockaddr_un*)addr_ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue