kidok / protobuf

Automatically exported from code.google.com/p/protobuf
0 stars 0 forks source link

misleading document in python api #615

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

Original comment by xiaof...@google.com on 13 Mar 2014 at 5:09

GoogleCodeExporter commented 9 years ago

Original comment by jie...@google.com on 24 Jul 2014 at 1:03

GoogleCodeExporter commented 9 years ago

Original comment by jie...@google.com on 26 Aug 2014 at 3:20