mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Remove extra argument in mknod. Fixes #632628.
This commit is contained in:
parent
a978ab0d8c
commit
d631ebe20b
1 changed files with 1 additions and 1 deletions
|
|
@ -5169,7 +5169,7 @@ posix_mknod(PyObject *self, PyObject *args)
|
|||
int mode = 0600;
|
||||
int device = 0;
|
||||
int res;
|
||||
if (!PyArg_ParseTuple(args, "s|iii:mknod", &filename, &mode, &device))
|
||||
if (!PyArg_ParseTuple(args, "s|ii:mknod", &filename, &mode, &device))
|
||||
return NULL;
|
||||
Py_BEGIN_ALLOW_THREADS
|
||||
res = mknod(filename, mode, device);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue