Skip to content
This repository was archived by the owner on May 29, 2023. It is now read-only.

Commit 38bfe42

Browse files
authored
Merge pull request #22 from software-dov/doc-quotes
Dict construction via kword param, not via literal
2 parents 3f4595c + 979f03e commit 38bfe42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: protoc_docs/bin/py_docstring.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def main(input_file=sys.stdin, output_file=sys.stdout):
6464
answer.append(CodeGeneratorResponse.File(
6565
name=fn.replace('.proto', '_pb2.py'),
6666
insertion_point='class_scope:%s' % struct.name,
67-
content=',\n\'__doc__\': """{docstring}""",'.format(
67+
content='\n__doc__ = """{docstring}""",'.format(
6868
docstring=struct.get_python_docstring(meta_docstrings[index]),
6969
),
7070
))

0 commit comments

Comments
 (0)