Make some private symbols static.

This commit is contained in:
Guido van Rossum 2001-04-14 17:55:09 +00:00
parent f85af612f8
commit f68d8e52e7
5 changed files with 8 additions and 7 deletions

View file

@ -420,7 +420,7 @@ SystemExit__init__(PyObject *self, PyObject *args)
}
PyMethodDef SystemExit_methods[] = {
static PyMethodDef SystemExit_methods[] = {
{ "__init__", SystemExit__init__, METH_VARARGS},
{NULL, NULL}
};
@ -836,7 +836,7 @@ SyntaxError__str__(PyObject *self, PyObject *args)
}
PyMethodDef SyntaxError_methods[] = {
static PyMethodDef SyntaxError_methods[] = {
{"__init__", SyntaxError__init__, METH_VARARGS},
{"__str__", SyntaxError__str__, METH_VARARGS},
{NULL, NULL}