The document for python api ParseFromString is misleading as following:
def ParseFromString(self, serialized):
"""Like MergeFromString(), except we clear the object first."""
self.Clear()
self.MergeFromString(serialized)
This function does not work like MergeFromString, because it does not return
the value that MergeFromString returns. But you can't get this by document.
Thanks
Original issue reported on code.google.com by ccpp...@gmail.com on 13 Mar 2014 at 3:51
Original issue reported on code.google.com by
ccpp...@gmail.com
on 13 Mar 2014 at 3:51