@@ -154,7 +154,7 @@ macro_rules! tuple_conversion ({$length:expr,$(($refN:ident, $n:tt, $T:ident)),+
154
154
fn to_object( & self , py: Python ) -> PyObject {
155
155
unsafe {
156
156
let ptr = ffi:: PyTuple_New ( $length) ;
157
- $( ffi:: PyTuple_SetItem ( ptr, $n, self . $n. to_object( py) . into_ptr( ) ) ; ) +;
157
+ $( ffi:: PyTuple_SetItem ( ptr, $n, self . $n. to_object( py) . into_ptr( ) ) ; ) +
158
158
PyObject :: from_owned_ptr_or_panic( py, ptr)
159
159
}
160
160
}
@@ -163,7 +163,7 @@ macro_rules! tuple_conversion ({$length:expr,$(($refN:ident, $n:tt, $T:ident)),+
163
163
fn into_object( self , py: Python ) -> PyObject {
164
164
unsafe {
165
165
let ptr = ffi:: PyTuple_New ( $length) ;
166
- $( ffi:: PyTuple_SetItem ( ptr, $n, self . $n. into_object( py) . into_ptr( ) ) ; ) +;
166
+ $( ffi:: PyTuple_SetItem ( ptr, $n, self . $n. into_object( py) . into_ptr( ) ) ; ) +
167
167
PyObject :: from_owned_ptr_or_panic( py, ptr)
168
168
}
169
169
}
@@ -173,7 +173,7 @@ macro_rules! tuple_conversion ({$length:expr,$(($refN:ident, $n:tt, $T:ident)),+
173
173
fn into_py( self , py: Python ) -> Py <PyTuple > {
174
174
unsafe {
175
175
let ptr = ffi:: PyTuple_New ( $length) ;
176
- $( ffi:: PyTuple_SetItem ( ptr, $n, self . $n. into_object( py) . into_ptr( ) ) ; ) +;
176
+ $( ffi:: PyTuple_SetItem ( ptr, $n, self . $n. into_object( py) . into_ptr( ) ) ; ) +
177
177
Py :: from_owned_ptr_or_panic( ptr)
178
178
}
179
179
}
0 commit comments