Skip to content

Commit a6fe0a2

Browse files
Add "NO CHECKED-IN PROTOBUF GENCODE" to Protobuf Python gencode.
PiperOrigin-RevId: 617652266
1 parent eec6540 commit a6fe0a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/google/protobuf/compiler/python/generator.cc

+3
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,9 @@ void Generator::PrintTopBoilerplate() const {
353353
printer_->Print(
354354
"# -*- coding: utf-8 -*-\n"
355355
"# Generated by the protocol buffer compiler. DO NOT EDIT!\n"
356+
"# NO CHECKED-IN PROTOBUF "
357+
// Intentional line breaker
358+
"GENCODE\n"
356359
"# source: $filename$\n",
357360
"filename", file_->name());
358361
if (opensource_runtime_) {

0 commit comments

Comments
 (0)