mirror of
https://github.com/python/cpython.git
synced 2026-01-25 16:52:04 +00:00
Drop now-unnecessary arguments to posix_2str.
This commit is contained in:
parent
8e0d494e41
commit
4fc2bda8d9
1 changed files with 3 additions and 3 deletions
|
|
@ -1679,7 +1679,7 @@ Create a hard link to a file.");
|
|||
static PyObject *
|
||||
posix_link(PyObject *self, PyObject *args)
|
||||
{
|
||||
return posix_2str(args, "etet:link", link, NULL, NULL);
|
||||
return posix_2str(args, "etet:link", link);
|
||||
}
|
||||
#endif /* HAVE_LINK */
|
||||
|
||||
|
|
@ -2145,7 +2145,7 @@ posix_rename(PyObject *self, PyObject *args)
|
|||
Py_INCREF(Py_None);
|
||||
return Py_None;
|
||||
#else
|
||||
return posix_2str(args, "etet:rename", rename, NULL, NULL);
|
||||
return posix_2str(args, "etet:rename", rename);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
@ -5420,7 +5420,7 @@ Create a symbolic link pointing to src named dst.");
|
|||
static PyObject *
|
||||
posix_symlink(PyObject *self, PyObject *args)
|
||||
{
|
||||
return posix_2str(args, "etet:symlink", symlink, NULL, NULL);
|
||||
return posix_2str(args, "etet:symlink", symlink);
|
||||
}
|
||||
#endif /* HAVE_SYMLINK */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue