[Python-checkins] r45899 - python/trunk/Modules/posixmodule.c

martin.v.loewis python-checkins at python.org
Thu May 4 14:04:28 CEST 2006


Author: martin.v.loewis
Date: Thu May  4 14:04:27 2006
New Revision: 45899

Modified:
   python/trunk/Modules/posixmodule.c
Log:
Drop now-unnecessary arguments to posix_2str.


Modified: python/trunk/Modules/posixmodule.c
==============================================================================
--- python/trunk/Modules/posixmodule.c	(original)
+++ python/trunk/Modules/posixmodule.c	Thu May  4 14:04:27 2006
@@ -1679,7 +1679,7 @@
 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 @@
 	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 @@
 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 */
 


More information about the Python-checkins mailing list