Clarifies ParseFromString method takes only binary form of proto

PiperOrigin-RevId: 495898678
pull/11339/head
Hongcheng Xu 2 years ago committed by Copybara-Service
parent e3c346fdd8
commit 68d25df1d2
  1. 2
      python/google/protobuf/message.py

@ -192,7 +192,7 @@ class Message(object):
raise NotImplementedError
def ParseFromString(self, serialized):
"""Parse serialized protocol buffer data into this message.
"""Parse serialized protocol buffer data in binary form into this message.
Like :func:`MergeFromString()`, except we clear the object first.

Loading…
Cancel
Save