Fix typos in comment

pull/3179/head
Brian J. Watson 8 years ago
parent 703cd8e11c
commit 5555d3b078
  1. 4
      python/google/protobuf/json_format.py

@ -532,8 +532,8 @@ class _Parser(object):
def _ConvertGenericMessage(self, value, message):
"""Convert a JSON representation into message with FromJsonString."""
# Durantion, Timestamp, FieldMask have FromJsonString method to do the
# convert. Users can also call the method directly.
# Duration, Timestamp, FieldMask have a FromJsonString method to do the
# conversion. Users can also call the method directly.
message.FromJsonString(value)
def _ConvertValueMessage(self, value, message):

Loading…
Cancel
Save