Make PySimpleQueueType static. (GH-8175)

(cherry picked from commit 9b50a7f29b)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
This commit is contained in:
Miss Islington (bot) 2018-07-07 15:42:28 -07:00 committed by GitHub
parent 80c188f3ef
commit 6d16a91200
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ class _queue.SimpleQueue "simplequeueobject *" "&PySimpleQueueType"
[clinic start generated code]*/ [clinic start generated code]*/
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=cf49af81bcbbbea6]*/ /*[clinic end generated code: output=da39a3ee5e6b4b0d input=cf49af81bcbbbea6]*/
extern PyTypeObject PySimpleQueueType; /* forward decl */ static PyTypeObject PySimpleQueueType; /* forward decl */
static PyObject *EmptyError; static PyObject *EmptyError;
@ -306,7 +306,7 @@ static PyMethodDef simplequeue_methods[] = {
}; };
PyTypeObject PySimpleQueueType = { static PyTypeObject PySimpleQueueType = {
PyVarObject_HEAD_INIT(NULL, 0) PyVarObject_HEAD_INIT(NULL, 0)
"_queue.SimpleQueue", /*tp_name*/ "_queue.SimpleQueue", /*tp_name*/
sizeof(simplequeueobject), /*tp_size*/ sizeof(simplequeueobject), /*tp_size*/