diff options
author | Guido van Rossum <guido@python.org> | 2001-04-14 17:55:09 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-04-14 17:55:09 (GMT) |
commit | f68d8e52e7ce833d123de034a4f123ec710a639f (patch) | |
tree | fceec6ba2862506e6839a6b34579b635052360e9 /Python/exceptions.c | |
parent | f85af612f8c109f52333ee2d106b0848bf6ab372 (diff) | |
download | cpython-f68d8e52e7ce833d123de034a4f123ec710a639f.zip cpython-f68d8e52e7ce833d123de034a4f123ec710a639f.tar.gz cpython-f68d8e52e7ce833d123de034a4f123ec710a639f.tar.bz2 |
Make some private symbols static.
Diffstat (limited to 'Python/exceptions.c')
-rw-r--r-- | Python/exceptions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/exceptions.c b/Python/exceptions.c index f262ef2..ad8021e 100644 --- a/Python/exceptions.c +++ b/Python/exceptions.c @@ -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} |