Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
062df3d0
Commit
062df3d0
authored
Jul 20, 2017
by
Feng Xiao
Committed by
GitHub
Jul 20, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3179 from bjwatson/fix-duration-typo
Fix typos in comment
parents
040f56e6
5555d3b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
json_format.py
python/google/protobuf/json_format.py
+2
-2
No files found.
python/google/protobuf/json_format.py
View file @
062df3d0
...
...
@@ -532,8 +532,8 @@ class _Parser(object):
def
_ConvertGenericMessage
(
self
,
value
,
message
):
"""Convert a JSON representation into message with FromJsonString."""
# Dura
ntion, Timestamp, FieldMask have
FromJsonString method to do the
# conver
t
. Users can also call the method directly.
# Dura
tion, Timestamp, FieldMask have a
FromJsonString method to do the
# conver
sion
. Users can also call the method directly.
message
.
FromJsonString
(
value
)
def
_ConvertValueMessage
(
self
,
value
,
message
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment