File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ struct overload_base_get_item_for_std_vector
141141 bp::object obj = idxs[k];
142142 bp::extract<long > ei (obj);
143143 if (!ei.check ()) {
144- PyErr_SetString (PyExc_TypeError, " indices must be integers" );
144+ PyErr_SetString (PyExc_TypeError, " Indices must be integers" );
145145 bp::throw_error_already_set ();
146146 }
147147 auto idx = normalize_index (c.get ().size (), ei ());
@@ -154,7 +154,7 @@ struct overload_base_get_item_for_std_vector
154154 long idx = i;
155155 if (idx < 0 ) idx += static_cast <long >(n);
156156 if (idx < 0 || idx >= static_cast <long >(n)) {
157- PyErr_SetString (PyExc_IndexError, " index out of range" );
157+ PyErr_SetString (PyExc_IndexError, " Index out of range" );
158158 bp::throw_error_already_set ();
159159 }
160160 return static_cast <index_type>(idx);
You can’t perform that action at this time.
0 commit comments