Skip to content

Commit d6778a8

Browse files
committed
format
1 parent aa443ee commit d6778a8

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

redblackpy/cython_source/__tree_series_dtype.pxi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,12 +268,10 @@ cdef class __TreeSeries_{DTYPE}(__BaseTreeSeries):
268268
self.insert( it[0], num )
269269

270270
elif to_type == "str":
271-
272271
for it in other.iteritems():
273272
self.insert( it[0], str(it[1]) )
274273

275274
else:
276-
277275
for it in other.iteritems():
278276
self.insert(it[0], it[1])
279277

@@ -608,7 +606,6 @@ cdef class __TreeSeries_{DTYPE}(__BaseTreeSeries):
608606
other.on_itermode()
609607

610608
while not iterator.empty():
611-
612609
key = <object>deref(iterator).key.data
613610
current = action(self.__getitem__(key), other[key])
614611
__insert_node_{DTYPE}(result.__index, key, current)

redblackpy/cython_source/c_pyobject.pxi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ cdef inline int compare_func(const c_pyobject& a_1, const c_pyobject& a_2) with
2828

2929
return PyObject_RichCompareBool(a_1.data, a_2.data, Py_LT)
3030

31+
3132
cdef inline int equal(const c_pyobject& a_1, const c_pyobject& a_2) with gil:
3233

3334
return PyObject_RichCompareBool(a_1.data, a_2.data, Py_EQ)
3435

36+
3537
cdef inline int comp_pair( const pair[rb_tree_ptr, iterator]& a_1,
3638
const pair[rb_tree_ptr, iterator]& a_2 ) with gil:
3739

0 commit comments

Comments
 (0)