Commit ed9ebca5 authored by Jason R. Coombs's avatar Jason R. Coombs

Indent with spaces

--HG--
branch : distribute
extra : rebase_source : 799441b639f6f9c55fe25745e793ac29419f0293
parent 7c0eeec3
...@@ -5,12 +5,12 @@ _Extension = _get_unpatched(_Extension) ...@@ -5,12 +5,12 @@ _Extension = _get_unpatched(_Extension)
# Prefer Cython to Pyrex # Prefer Cython to Pyrex
pyrex_impls = 'Cython.Distutils.build_ext', 'Pyrex.Distutils.build_ext' pyrex_impls = 'Cython.Distutils.build_ext', 'Pyrex.Distutils.build_ext'
for pyrex_impl in pyrex_impls: for pyrex_impl in pyrex_impls:
try: try:
# from (pyrex_impl) import build_ext # from (pyrex_impl) import build_ext
build_ext = __import__(pyrex_impl, fromlist=['build_ext']).build_ext build_ext = __import__(pyrex_impl, fromlist=['build_ext']).build_ext
break break
except: except:
pass pass
have_pyrex = 'build_ext' in globals() have_pyrex = 'build_ext' in globals()
...@@ -18,7 +18,7 @@ class Extension(_Extension): ...@@ -18,7 +18,7 @@ class Extension(_Extension):
"""Extension that uses '.c' files in place of '.pyx' files""" """Extension that uses '.c' files in place of '.pyx' files"""
if not have_pyrex: if not have_pyrex:
# convert .pyx extensions to .c # convert .pyx extensions to .c
def __init__(self,*args,**kw): def __init__(self,*args,**kw):
_Extension.__init__(self,*args,**kw) _Extension.__init__(self,*args,**kw)
sources = [] sources = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment