Skip to content

Commit

Permalink
Different message factories will return same message class for same d…
Browse files Browse the repository at this point in the history
…escriptor in python.

PiperOrigin-RevId: 468499201
  • Loading branch information
protobuf-github-bot authored and copybara-github committed Aug 18, 2022
1 parent 922a858 commit 470f06c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion python/descriptor.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 470f06c

Please sign in to comment.