Automated rollback of commit aa2eb83fb8.

PiperOrigin-RevId: 539776341
pull/13031/head
Protobuf Team Bot 2 years ago committed by Copybara-Service
parent aa2eb83fb8
commit c4bc23782e
  1. 1
      python/google/protobuf/pyext/repeated_scalar_container.cc

@ -57,7 +57,6 @@ namespace repeated_scalar_container {
static int InternalAssignRepeatedField(RepeatedScalarContainer* self,
PyObject* list) {
cmessage::AssureWritable(self->parent);
Message* message = self->parent->message;
message->GetReflection()->ClearField(message, self->parent_field_descriptor);
for (Py_ssize_t i = 0; i < PyList_GET_SIZE(list); ++i) {

Loading…
Cancel
Save