From: Martin v. Löwis Date: Thu, 4 May 2006 12:04:27 +0000 (+0000) Subject: Drop now-unnecessary arguments to posix_2str. X-Git-Tag: v2.5b1~705 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fc2bda8d9a9e8a43192e9e714d442e85cb52cbc;p=python Drop now-unnecessary arguments to posix_2str. --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 9e898dc16a..bb4c6ed6a4 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -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 */