From b3f736a9d1fe70da2b36bbf7b51b27b65b3b55f0 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Fri, 31 Aug 2018 20:30:35 +0100 Subject: [PATCH] Python typo fix --- Lib/python/pyname_compat.i | 2 +- Lib/python/std_map.i | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Lib/python/pyname_compat.i b/Lib/python/pyname_compat.i index 96af343ca..dc276e686 100644 --- a/Lib/python/pyname_compat.i +++ b/Lib/python/pyname_compat.i @@ -34,7 +34,7 @@ %inline %{ #define PyMapIterator_T SwigPyMapIterator_T #define PyMapKeyIterator_T SwigPyMapKeyIterator_T -#define PyMapValueIterator_T SwigPyMapValueITerator_T +#define PyMapValueIterator_T SwigPyMapValueIterator_T #define PyObject_ptr SwigPtr_PyObject #define PyObject_var SwigVar_PyObject #define PyOper SwigPyOper diff --git a/Lib/python/std_map.i b/Lib/python/std_map.i index f61f79c44..781c4d498 100644 --- a/Lib/python/std_map.i +++ b/Lib/python/std_map.i @@ -56,9 +56,9 @@ template > - struct SwigPyMapValueITerator_T : SwigPyMapIterator_T + struct SwigPyMapValueIterator_T : SwigPyMapIterator_T { - SwigPyMapValueITerator_T(OutIterator curr, OutIterator first, OutIterator last, PyObject *seq) + SwigPyMapValueIterator_T(OutIterator curr, OutIterator first, OutIterator last, PyObject *seq) : SwigPyMapIterator_T(curr, first, last, seq) { } @@ -69,7 +69,7 @@ inline SwigPyIterator* make_output_value_iterator(const OutIter& current, const OutIter& begin, const OutIter& end, PyObject *seq = 0) { - return new SwigPyMapValueITerator_T(current, begin, end, seq); + return new SwigPyMapValueIterator_T(current, begin, end, seq); } } }