Skip to content

Commit

Permalink
Initial module docstring for python _pb2 (#7528)
Browse files Browse the repository at this point in the history
Generated Python modules now have a module-level docstring.
  • Loading branch information
Thiago C. D'Ávila authored Jun 2, 2020
1 parent b9cf386 commit 28cc693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google/protobuf/compiler/python/python_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ void PrintTopBoilerplate(io::Printer* printer, const FileDescriptor* file,
"# -*- coding: utf-8 -*-\n"
"# Generated by the protocol buffer compiler. DO NOT EDIT!\n"
"# source: $filename$\n"
"\n",
"\"\"\"Generated protocol buffer code.\"\"\"\n",
"filename", file->name());
if (HasTopLevelEnums(file)) {
printer->Print(
Expand Down

0 comments on commit 28cc693

Please sign in to comment.