Different message factories will return same message class for same descriptor in python.

PiperOrigin-RevId: 468499201
pull/13171/head
Protobuf Team Bot 2 years ago committed by Copybara-Service
parent 922a858e5c
commit 470f06cccb
  1. 1
      python/descriptor.c

@ -212,7 +212,6 @@ PyObject* PyUpb_Descriptor_Get(const upb_MessageDef* m) {
PyObject* PyUpb_Descriptor_GetClass(const upb_MessageDef* m) {
PyObject* ret = PyUpb_ObjCache_Get(upb_MessageDef_MiniTable(m));
assert(ret);
return ret;
}

Loading…
Cancel
Save