Commit dab5ac36 authored by Martín Gaitán's avatar Martín Gaitán

applying DRY on cython vs Cython

import the ``cython`` as module (no run  as a program)::

   >>> import cython

do the same than::

   >>> import Cython

But the same code was repeated in both places.
parent 99a593e0
...@@ -17,7 +17,4 @@ if __name__ == '__main__': ...@@ -17,7 +17,4 @@ if __name__ == '__main__':
main(command_line = 1) main(command_line = 1)
else: else:
# Void cython.* directives. from Cython import *
from Cython.Shadow import * \ No newline at end of file
## and bring in the __version__
from Cython import __version__
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