Initial module docstring for python _pb2 (#7528)

Generated Python modules now have a module-level docstring.
pull/7593/head
Thiago C. D'Ávila 5 years ago committed by GitHub
parent b9cf3866c5
commit 28cc693f3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/google/protobuf/compiler/python/python_generator.cc

@ -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(

Loading…
Cancel
Save