summaryrefslogtreecommitdiff
path: root/Python/exceptions.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-04-14 17:55:09 +0000
committerGuido van Rossum <guido@python.org>2001-04-14 17:55:09 +0000
commitc64576dc57e97f1827c48728e99f157757984a19 (patch)
tree446e5c94e1d53f2151e52f5a68b2a1f8d80395bb /Python/exceptions.c
parente51c0787f7bf19dd6b95f4e2ec40ccc322463c34 (diff)
downloadcpython-c64576dc57e97f1827c48728e99f157757984a19.tar.gz
Make some private symbols static.
Diffstat (limited to 'Python/exceptions.c')
-rw-r--r--Python/exceptions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/exceptions.c b/Python/exceptions.c
index f262ef2a97..ad8021e0db 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}