internal change

PiperOrigin-RevId: 523138685
pull/12437/head
Jie Luo 2 years ago committed by Copybara-Service
parent 8a84914cfd
commit 7458e32f0d
  1. 8
      src/google/protobuf/compiler/python/pyi_generator.cc

@ -73,14 +73,10 @@ std::string PyiGenerator::ModuleLevelName(const DescriptorT& descriptor) const {
return name;
}
std::string PyiGenerator::PublicPackage() const {
return opensource_runtime_ ? "google.protobuf"
: "google3.net.google.protobuf.python.public";
}
std::string PyiGenerator::PublicPackage() const { return "google.protobuf"; }
std::string PyiGenerator::InternalPackage() const {
return opensource_runtime_ ? "google.protobuf.internal"
: "google3.net.google.protobuf.python.internal";
return "google.protobuf.internal";
}
struct ImportModules {

Loading…
Cancel
Save