Factor out name differences into macros.
diff --git a/python/descriptor_pool.c b/python/descriptor_pool.c
index 9a3a76a..5a61b4e 100644
--- a/python/descriptor_pool.c
+++ b/python/descriptor_pool.c
@@ -251,7 +251,8 @@
PyObject* file_desc) {
if (!PyUpb_CMessage_Verify(file_desc)) return NULL;
const upb_MessageDef* m = PyUpb_CMessage_GetMsgdef(file_desc);
- const char* file_proto_name = PYUPB_DESCRIPTOR_PROTO_PACKAGE ".FileDescriptorProto";
+ const char* file_proto_name =
+ PYUPB_DESCRIPTOR_PROTO_PACKAGE ".FileDescriptorProto";
if (strcmp(upb_MessageDef_FullName(m), file_proto_name) != 0) {
return PyErr_Format(PyExc_TypeError, "Can only add FileDescriptorProto");
}