Skip to content

Commit 2431d80

Browse files
author
tim_one
committed
Removed more stray instances of statichere, but left _sre.c alone.
git-svn-id: http://svn.python.org/projects/python/trunk@27665 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 0f47c5c commit 2431d80

8 files changed

Lines changed: 9 additions & 9 deletions

File tree

Modules/arraymodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1858,7 +1858,7 @@ typecode -- the typecode character used to create the array\n\
18581858
itemsize -- the length in bytes of one array item\n\
18591859
");
18601860

1861-
statichere PyTypeObject Arraytype = {
1861+
static PyTypeObject Arraytype = {
18621862
PyObject_HEAD_INIT(NULL)
18631863
0,
18641864
"array.array",

Modules/md5module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ update() -- updates the current digest with an additional string\n\
187187
digest() -- return the current digest value\n\
188188
copy() -- return a copy of the current md5 object");
189189

190-
statichere PyTypeObject MD5type = {
190+
static PyTypeObject MD5type = {
191191
PyObject_HEAD_INIT(NULL)
192192
0, /*ob_size*/
193193
"md5.md5", /*tp_name*/

Modules/pyexpat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1739,7 +1739,7 @@ clear_handlers(xmlparseobject *self, int initial)
17391739
}
17401740
}
17411741

1742-
statichere struct HandlerInfo handler_info[] = {
1742+
static struct HandlerInfo handler_info[] = {
17431743
{"StartElementHandler",
17441744
(xmlhandlersetter)XML_SetStartElementHandler,
17451745
(xmlhandler)my_StartElementHandler},

Modules/rotormodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ rotorobj_getattr(Rotorobj *s, char *name)
575575
}
576576

577577

578-
statichere PyTypeObject Rotor_Type = {
578+
static PyTypeObject Rotor_Type = {
579579
PyObject_HEAD_INIT(NULL)
580580
0, /*ob_size*/
581581
"rotor.rotor", /*tp_name*/

Modules/selectmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ poll_getattr(pollObject *self, char *name)
559559
return Py_FindMethod(poll_methods, (PyObject *)self, name);
560560
}
561561

562-
statichere PyTypeObject poll_Type = {
562+
static PyTypeObject poll_Type = {
563563
/* The ob_type field must be initialized in the module init function
564564
* to be portable to Windows without using C++. */
565565
PyObject_HEAD_INIT(NULL)

Modules/xxmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Xxo_setattr(XxoObject *self, char *name, PyObject *v)
9393
return PyDict_SetItemString(self->x_attr, name, v);
9494
}
9595

96-
statichere PyTypeObject Xxo_Type = {
96+
static PyTypeObject Xxo_Type = {
9797
/* The ob_type field must be initialized in the module init function
9898
* to be portable to Windows without using C++. */
9999
PyObject_HEAD_INIT(NULL)

Modules/zlibmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ static PyMethodDef zlib_methods[] =
785785
{NULL, NULL}
786786
};
787787

788-
statichere PyTypeObject Comptype = {
788+
static PyTypeObject Comptype = {
789789
PyObject_HEAD_INIT(0)
790790
0,
791791
"zlib.Compress",
@@ -802,7 +802,7 @@ statichere PyTypeObject Comptype = {
802802
0, /*tp_as_mapping*/
803803
};
804804

805-
statichere PyTypeObject Decomptype = {
805+
static PyTypeObject Decomptype = {
806806
PyObject_HEAD_INIT(0)
807807
0,
808808
"zlib.Decompress",

Python/ceval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ static PyMemberDef gen_memberlist[] = {
178178
{NULL} /* Sentinel */
179179
};
180180

181-
statichere PyTypeObject gentype = {
181+
static PyTypeObject gentype = {
182182
PyObject_HEAD_INIT(&PyType_Type)
183183
0, /* ob_size */
184184
"generator", /* tp_name */

0 commit comments

Comments
 (0)