You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
886 B
27 lines
886 B
https://github.com/google/protobuf/pull/4365
|
|
|
|
--- /python/google/protobuf/pyext/message.cc
|
|
+++ /python/google/protobuf/pyext/message.cc
|
|
@@ -402,12 +402,6 @@
|
|
return result.release();
|
|
}
|
|
|
|
-static PyGetSetDef Getters[] = {
|
|
- {"_extensions_by_name", (getter)GetExtensionsByName, NULL},
|
|
- {"_extensions_by_number", (getter)GetExtensionsByNumber, NULL},
|
|
- {NULL}
|
|
-};
|
|
-
|
|
} // namespace message_meta
|
|
|
|
PyTypeObject CMessageClass_Type = {
|
|
@@ -440,7 +434,7 @@
|
|
0, // tp_iternext
|
|
0, // tp_methods
|
|
0, // tp_members
|
|
- message_meta::Getters, // tp_getset
|
|
+ 0, // tp_getset
|
|
0, // tp_base
|
|
0, // tp_dict
|
|
0, // tp_descr_get
|