aboutsummaryrefslogtreecommitdiffhomepage
path: root/python/google
diff options
context:
space:
mode:
authorGravatar Brian J. Watson <brianwatson@google.com>2017-06-02 17:30:39 -0700
committerGravatar Brian J. Watson <brianwatson@google.com>2017-06-21 17:31:03 -0700
commit5555d3b0785d7a73299fa95203073c4bab2af97a (patch)
tree0d850bec21351fd37a4914ea6f349a83cfdfaea0 /python/google
parent703cd8e11c8d34283d4c8bf869c61866e8211c9d (diff)
Fix typos in comment
Diffstat (limited to 'python/google')
-rw-r--r--python/google/protobuf/json_format.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/google/protobuf/json_format.py b/python/google/protobuf/json_format.py
index d02cb091..937285b0 100644
--- a/python/google/protobuf/json_format.py
+++ b/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):