aboutsummaryrefslogtreecommitdiffhomepage
path: root/python/google/protobuf/pyext
diff options
context:
space:
mode:
authorGravatar Feng Xiao <xfxyjwf@gmail.com>2014-11-11 11:01:32 -0800
committerGravatar Feng Xiao <xfxyjwf@gmail.com>2014-11-11 11:01:32 -0800
commit643d09ac7dcbf3b014a8a0465ebc4405ac8388b7 (patch)
tree67abff5f87181bf73ae4b7588028647d6126a7d7 /python/google/protobuf/pyext
parent6ef984af4b0c63c1c33127a12dcfc8e6359f0c9e (diff)
parentc76807211af6ae86368bcd7651ca707ee7f12f86 (diff)
Merge branch 'typofixes-vlajos-20141108' of https://github.com/vlajos/protobuf into typo
Conflicts: src/google/protobuf/compiler/java/java_file.cc
Diffstat (limited to 'python/google/protobuf/pyext')
-rw-r--r--python/google/protobuf/pyext/message.h2
-rw-r--r--python/google/protobuf/pyext/repeated_composite_container.h2
-rw-r--r--python/google/protobuf/pyext/scoped_pyobject_ptr.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/python/google/protobuf/pyext/message.h b/python/google/protobuf/pyext/message.h
index 73e5a7d3..0fef92a0 100644
--- a/python/google/protobuf/pyext/message.h
+++ b/python/google/protobuf/pyext/message.h
@@ -142,7 +142,7 @@ PyObject* InternalGetSubMessage(
//
// Releases messages to the provided cmessage_list if it is not NULL rather
// than just removing them from the underlying proto. This cmessage_list must
-// have a CMessage for each underlying submessage. The CMessages refered to
+// have a CMessage for each underlying submessage. The CMessages referred to
// by slice will be removed from cmessage_list by this function.
//
// Corresponds to reflection api method RemoveLast.
diff --git a/python/google/protobuf/pyext/repeated_composite_container.h b/python/google/protobuf/pyext/repeated_composite_container.h
index a76a5d6a..0969af08 100644
--- a/python/google/protobuf/pyext/repeated_composite_container.h
+++ b/python/google/protobuf/pyext/repeated_composite_container.h
@@ -61,7 +61,7 @@ struct CMessage;
//
// When in the attached state all modifications to the container are
// done both on the 'message' and on the 'child_messages'
-// list. In this state all Messages refered to by the children in
+// list. In this state all Messages referred to by the children in
// 'child_messages' are owner by the 'owner'.
//
// When in the released state 'message', 'owner', 'parent', and
diff --git a/python/google/protobuf/pyext/scoped_pyobject_ptr.h b/python/google/protobuf/pyext/scoped_pyobject_ptr.h
index fefebb6a..18ddd5cd 100644
--- a/python/google/protobuf/pyext/scoped_pyobject_ptr.h
+++ b/python/google/protobuf/pyext/scoped_pyobject_ptr.h
@@ -40,7 +40,7 @@
namespace google {
class ScopedPyObjectPtr {
public:
- // Constructor. Defaults to intializing with NULL.
+ // Constructor. Defaults to initializing with NULL.
// There is no way to create an uninitialized ScopedPyObjectPtr.
explicit ScopedPyObjectPtr(PyObject* p = NULL) : ptr_(p) { }