diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-22 16:39:39 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-22 16:39:39 (GMT) |
commit | 1bc8c1eb832219c8cafcc684fdee3811dad0f2ae (patch) | |
tree | 0f94db35899e05df8f83c2e390c21cc3d1f937f9 /Modules/posixmodule.c | |
parent | 3531730a685d1472ce05e6a9a63f42ba51e0abe1 (diff) | |
download | cpython-1bc8c1eb832219c8cafcc684fdee3811dad0f2ae.zip cpython-1bc8c1eb832219c8cafcc684fdee3811dad0f2ae.tar.gz cpython-1bc8c1eb832219c8cafcc684fdee3811dad0f2ae.tar.bz2 |
Remove unused helper-function 'posix_strint'.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index f39a241..c22be54 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -495,24 +495,6 @@ posix_2str(PyObject *args, char *format, return Py_None; } -static PyObject * -posix_strint(PyObject *args, char *format, int (*func)(const char *, int)) -{ - char *path; - int i; - int res; - if (!PyArg_ParseTuple(args, format, &path, &i)) - return NULL; - Py_BEGIN_ALLOW_THREADS - res = (*func)(path, i); - Py_END_ALLOW_THREADS - if (res < 0) - return posix_error_with_filename(path); - Py_INCREF(Py_None); - return Py_None; -} - - /* pack a system stat C structure into the Python stat tuple (used by posix_stat() and posix_fstat()) */ static PyObject* |