mirror of https://github.com/python/cpython
Removed more stray instances of statichere, but left _sre.c alone.
This commit is contained in:
parent
50ceb68b4f
commit
0c32279626
|
@ -1858,7 +1858,7 @@ typecode -- the typecode character used to create the array\n\
|
|||
itemsize -- the length in bytes of one array item\n\
|
||||
");
|
||||
|
||||
statichere PyTypeObject Arraytype = {
|
||||
static PyTypeObject Arraytype = {
|
||||
PyObject_HEAD_INIT(NULL)
|
||||
0,
|
||||
"array.array",
|
||||
|
|
|
@ -187,7 +187,7 @@ update() -- updates the current digest with an additional string\n\
|
|||
digest() -- return the current digest value\n\
|
||||
copy() -- return a copy of the current md5 object");
|
||||
|
||||
statichere PyTypeObject MD5type = {
|
||||
static PyTypeObject MD5type = {
|
||||
PyObject_HEAD_INIT(NULL)
|
||||
0, /*ob_size*/
|
||||
"md5.md5", /*tp_name*/
|
||||
|
|
|
@ -1739,7 +1739,7 @@ clear_handlers(xmlparseobject *self, int initial)
|
|||
}
|
||||
}
|
||||
|
||||
statichere struct HandlerInfo handler_info[] = {
|
||||
static struct HandlerInfo handler_info[] = {
|
||||
{"StartElementHandler",
|
||||
(xmlhandlersetter)XML_SetStartElementHandler,
|
||||
(xmlhandler)my_StartElementHandler},
|
||||
|
|
|
@ -575,7 +575,7 @@ rotorobj_getattr(Rotorobj *s, char *name)
|
|||
}
|
||||
|
||||
|
||||
statichere PyTypeObject Rotor_Type = {
|
||||
static PyTypeObject Rotor_Type = {
|
||||
PyObject_HEAD_INIT(NULL)
|
||||
0, /*ob_size*/
|
||||
"rotor.rotor", /*tp_name*/
|
||||
|
|
|
@ -559,7 +559,7 @@ poll_getattr(pollObject *self, char *name)
|
|||
return Py_FindMethod(poll_methods, (PyObject *)self, name);
|
||||
}
|
||||
|
||||
statichere PyTypeObject poll_Type = {
|
||||
static PyTypeObject poll_Type = {
|
||||
/* The ob_type field must be initialized in the module init function
|
||||
* to be portable to Windows without using C++. */
|
||||
PyObject_HEAD_INIT(NULL)
|
||||
|
|
|
@ -93,7 +93,7 @@ Xxo_setattr(XxoObject *self, char *name, PyObject *v)
|
|||
return PyDict_SetItemString(self->x_attr, name, v);
|
||||
}
|
||||
|
||||
statichere PyTypeObject Xxo_Type = {
|
||||
static PyTypeObject Xxo_Type = {
|
||||
/* The ob_type field must be initialized in the module init function
|
||||
* to be portable to Windows without using C++. */
|
||||
PyObject_HEAD_INIT(NULL)
|
||||
|
|
|
@ -785,7 +785,7 @@ static PyMethodDef zlib_methods[] =
|
|||
{NULL, NULL}
|
||||
};
|
||||
|
||||
statichere PyTypeObject Comptype = {
|
||||
static PyTypeObject Comptype = {
|
||||
PyObject_HEAD_INIT(0)
|
||||
0,
|
||||
"zlib.Compress",
|
||||
|
@ -802,7 +802,7 @@ statichere PyTypeObject Comptype = {
|
|||
0, /*tp_as_mapping*/
|
||||
};
|
||||
|
||||
statichere PyTypeObject Decomptype = {
|
||||
static PyTypeObject Decomptype = {
|
||||
PyObject_HEAD_INIT(0)
|
||||
0,
|
||||
"zlib.Decompress",
|
||||
|
|
|
@ -178,7 +178,7 @@ static PyMemberDef gen_memberlist[] = {
|
|||
{NULL} /* Sentinel */
|
||||
};
|
||||
|
||||
statichere PyTypeObject gentype = {
|
||||
static PyTypeObject gentype = {
|
||||
PyObject_HEAD_INIT(&PyType_Type)
|
||||
0, /* ob_size */
|
||||
"generator", /* tp_name */
|
||||
|
|
Loading…
Reference in New Issue