/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/_chk_map_pyx.pyx

  • Committer: Jelmer Vernooij
  • Date: 2017-06-06 01:10:48 UTC
  • mto: (6656.2.4 integrate-bisect)
  • mto: This revision was merged to the branch mainline in revision 6674.
  • Revision ID: jelmer@jelmer.uk-20170606011048-ahf4exo5kvy3mwt1
Drop pyrex support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
 
18
 
#python2.4 support
 
18
from __future__ import absolute_import
 
19
 
19
20
cdef extern from "python-compat.h":
20
21
    pass
21
22
 
48
49
    object PyString_FromStringAndSize(char*, Py_ssize_t)
49
50
 
50
51
# cimport all of the definitions we will need to access
51
 
from _static_tuple_c cimport StaticTuple,\
 
52
from ._static_tuple_c cimport StaticTuple,\
52
53
    import_static_tuple_c, StaticTuple_New, \
53
54
    StaticTuple_Intern, StaticTuple_SET_ITEM, StaticTuple_CheckExact, \
54
55
    StaticTuple_GET_SIZE
179
180
    """Set the global attributes. Done lazy to avoid recursive import loops."""
180
181
    global _LeafNode, _InternalNode, _unknown
181
182
 
182
 
    from breezy import chk_map
 
183
    from . import chk_map
183
184
    _LeafNode = chk_map.LeafNode
184
185
    _InternalNode = chk_map.InternalNode
185
186
    _unknown = chk_map._unknown