~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_btree_serializer_pyx.pyx

Some code cleanup passes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
# It seems we need to import the definitions so that the pyrex compiler has
61
61
# local names to access them.
62
62
from _static_tuple_c cimport StaticTuple, \
63
 
    import_static_tuple_c, STATIC_TUPLE_ALL_STRING, StaticTuple_New, \
 
63
    import_static_tuple_c, StaticTuple_New, \
64
64
    StaticTuple_Intern, StaticTuple_SET_ITEM, StaticTuple_CheckExact
65
65
 
66
66
 
186
186
            self._start = temp_ptr + 1
187
187
            Py_INCREF(key_element)
188
188
            StaticTuple_SET_ITEM(key, loop_counter, key_element)
189
 
        # key->flags = key->flags | STATIC_TUPLE_ALL_STRING
190
189
        key = StaticTuple_Intern(key)
191
190
        return key
192
191