aboutsummaryrefslogtreecommitdiff
path: root/python/google/protobuf/internal/cpp_message.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/google/protobuf/internal/cpp_message.py')
-rwxr-xr-xpython/google/protobuf/internal/cpp_message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/google/protobuf/internal/cpp_message.py b/python/google/protobuf/internal/cpp_message.py
index 23ab9ba4..8eb38ca4 100755
--- a/python/google/protobuf/internal/cpp_message.py
+++ b/python/google/protobuf/internal/cpp_message.py
@@ -610,7 +610,7 @@ def _AddMessageMethods(message_descriptor, cls):
return self._cmsg.FindInitializationErrors()
def __str__(self):
- return self._cmsg.DebugString()
+ return str(self._cmsg)
def __eq__(self, other):
if self is other: