浏览代码

Fix capsule name. (#4836)

Internal convert file was broken. Change the capsule to the correct name
Thomas Colthurst 7 年之前
父节点
当前提交
1ae2cc02b6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      python/google/protobuf/proto_api.h

+ 1 - 1
python/google/protobuf/proto_api.h

@@ -81,7 +81,7 @@ struct PyProto_API {
 
 inline const char* PyProtoAPICapsuleName() {
   static const char kCapsuleName[] =
-      "protobuf.python.google.protobuf.cpp._message.proto_API";
+      "google.protobuf.pyext._message.proto_API";
   return kCapsuleName;
 }