diff options
author | liujisi@google.com <liujisi@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2010-12-03 09:12:33 +0000 |
---|---|---|
committer | liujisi@google.com <liujisi@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2010-12-03 09:12:33 +0000 |
commit | 2726e7a6ebd72eec6f66abe4ced3c88983f20b8e (patch) | |
tree | dcf88bc5537ca5b35b1bee3af5c04505b7a90c94 /python/google | |
parent | 0acafda8f424bb8a5adcf77bf2d4bdb3a9661d4b (diff) | |
download | protobuf-2726e7a6ebd72eec6f66abe4ced3c88983f20b8e.tar.gz protobuf-2726e7a6ebd72eec6f66abe4ced3c88983f20b8e.tar.bz2 protobuf-2726e7a6ebd72eec6f66abe4ced3c88983f20b8e.zip |
Fix issues: 166 167 172 175 181 188 192 194 195.
Diffstat (limited to 'python/google')
-rwxr-xr-x | python/google/protobuf/message.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/google/protobuf/message.py b/python/google/protobuf/message.py index 54cf35ea..6f19f85f 100755 --- a/python/google/protobuf/message.py +++ b/python/google/protobuf/message.py @@ -226,6 +226,9 @@ class Message(object): raise NotImplementedError def HasField(self, field_name): + """Checks if a certain field is set for the message. Note if the + field_name is not defined in the message descriptor, ValueError will be + raised.""" raise NotImplementedError def ClearField(self, field_name): |