summaryrefslogtreecommitdiff
path: root/numpy/f2py/docs/usersguide/spam.pyf
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/f2py/docs/usersguide/spam.pyf')
-rw-r--r--numpy/f2py/docs/usersguide/spam.pyf19
1 files changed, 0 insertions, 19 deletions
diff --git a/numpy/f2py/docs/usersguide/spam.pyf b/numpy/f2py/docs/usersguide/spam.pyf
deleted file mode 100644
index 21ea18b77..000000000
--- a/numpy/f2py/docs/usersguide/spam.pyf
+++ /dev/null
@@ -1,19 +0,0 @@
-! -*- f90 -*-
-python module spam
- usercode '''
- static char doc_spam_system[] = "Execute a shell command.";
- static PyObject *spam_system(PyObject *self, PyObject *args)
- {
- char *command;
- int sts;
-
- if (!PyArg_ParseTuple(args, "s", &command))
- return NULL;
- sts = system(command);
- return Py_BuildValue("i", sts);
- }
- '''
- pymethoddef '''
- {"system", spam_system, METH_VARARGS, doc_spam_system},
- '''
-end python module spam