mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Adding missing "static" declarations (found by "make smelly").
This commit is contained in:
parent
c3ffef6666
commit
2677512fc1
3 changed files with 5 additions and 5 deletions
|
|
@ -673,7 +673,7 @@ proxy_getiter(proxyobject *pp)
|
|||
return PyObject_GetIter(pp->dict);
|
||||
}
|
||||
|
||||
PyObject *
|
||||
static PyObject *
|
||||
proxy_str(proxyobject *pp)
|
||||
{
|
||||
return PyObject_Str(pp->dict);
|
||||
|
|
@ -693,7 +693,7 @@ proxy_traverse(PyObject *self, visitproc visit, void *arg)
|
|||
return 0;
|
||||
}
|
||||
|
||||
PyTypeObject proxytype = {
|
||||
static PyTypeObject proxytype = {
|
||||
PyObject_HEAD_INIT(&PyType_Type)
|
||||
0, /* ob_size */
|
||||
"dict-proxy", /* tp_name */
|
||||
|
|
@ -827,7 +827,7 @@ wrapper_traverse(PyObject *self, visitproc visit, void *arg)
|
|||
return 0;
|
||||
}
|
||||
|
||||
PyTypeObject wrappertype = {
|
||||
static PyTypeObject wrappertype = {
|
||||
PyObject_HEAD_INIT(&PyType_Type)
|
||||
0, /* ob_size */
|
||||
"method-wrapper", /* tp_name */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue