summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-05-04 12:04:27 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-05-04 12:04:27 (GMT)
commit4fc2bda8d9a9e8a43192e9e714d442e85cb52cbc (patch)
tree9a697aae1cf33627b6e864d0716694ae0d613532 /Modules/posixmodule.c
parent8e0d494e416a5d143e01b3d05b47d832aae0dadf (diff)
downloadcpython-4fc2bda8d9a9e8a43192e9e714d442e85cb52cbc.zip
cpython-4fc2bda8d9a9e8a43192e9e714d442e85cb52cbc.tar.gz
cpython-4fc2bda8d9a9e8a43192e9e714d442e85cb52cbc.tar.bz2
Drop now-unnecessary arguments to posix_2str.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 9e898dc..bb4c6ed 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 */