소스 검색

Merge pull request #3179 from bjwatson/fix-duration-typo

Fix typos in comment
Feng Xiao 8 년 전
부모
커밋
062df3d072
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      python/google/protobuf/json_format.py

+ 2 - 2
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):