Python typo fix

This commit is contained in:
William S Fulton 2018-08-31 20:30:35 +01:00
commit b3f736a9d1
2 changed files with 4 additions and 4 deletions

View file

@ -34,7 +34,7 @@
%inline %{ %inline %{
#define PyMapIterator_T SwigPyMapIterator_T #define PyMapIterator_T SwigPyMapIterator_T
#define PyMapKeyIterator_T SwigPyMapKeyIterator_T #define PyMapKeyIterator_T SwigPyMapKeyIterator_T
#define PyMapValueIterator_T SwigPyMapValueITerator_T #define PyMapValueIterator_T SwigPyMapValueIterator_T
#define PyObject_ptr SwigPtr_PyObject #define PyObject_ptr SwigPtr_PyObject
#define PyObject_var SwigVar_PyObject #define PyObject_var SwigVar_PyObject
#define PyOper SwigPyOper #define PyOper SwigPyOper

View file

@ -56,9 +56,9 @@
template<class OutIterator, template<class OutIterator,
class FromOper = from_value_oper<typename OutIterator::value_type> > class FromOper = from_value_oper<typename OutIterator::value_type> >
struct SwigPyMapValueITerator_T : SwigPyMapIterator_T<OutIterator, FromOper> struct SwigPyMapValueIterator_T : SwigPyMapIterator_T<OutIterator, FromOper>
{ {
SwigPyMapValueITerator_T(OutIterator curr, OutIterator first, OutIterator last, PyObject *seq) SwigPyMapValueIterator_T(OutIterator curr, OutIterator first, OutIterator last, PyObject *seq)
: SwigPyMapIterator_T<OutIterator, FromOper>(curr, first, last, seq) : SwigPyMapIterator_T<OutIterator, FromOper>(curr, first, last, seq)
{ {
} }
@ -69,7 +69,7 @@
inline SwigPyIterator* inline SwigPyIterator*
make_output_value_iterator(const OutIter& current, const OutIter& begin, const OutIter& end, PyObject *seq = 0) make_output_value_iterator(const OutIter& current, const OutIter& begin, const OutIter& end, PyObject *seq = 0)
{ {
return new SwigPyMapValueITerator_T<OutIter>(current, begin, end, seq); return new SwigPyMapValueIterator_T<OutIter>(current, begin, end, seq);
} }
} }
} }