]> granicus.if.org Git - python/commitdiff
Drop now-unnecessary arguments to posix_2str.
authorMartin v. Löwis <martin@v.loewis.de>
Thu, 4 May 2006 12:04:27 +0000 (12:04 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Thu, 4 May 2006 12:04:27 +0000 (12:04 +0000)
Modules/posixmodule.c

index 9e898dc16a7bd35ea355cadb3bfdc54eb67e9712..bb4c6ed6a4477859e236309369b085ebbaac1929 100644 (file)
@@ -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 */