Cython has moved to github.

cython-devel

view tests/run/importfrom.pyx @ 1622:4f0327bdebc9

test for temp allocation bug in call
author Robert Bradshaw <robertwb@math.washington.edu>
date Sat Jan 17 01:25:34 2009 -0800 (3 years ago)
parents
children 1ca2fa65750e
line source
1 __doc__ = u"""
2 >>> from distutils import cmd, core, version
3 >>> import1() == (cmd, core, version)
4 True
5 >>> import2() == (cmd, core, version)
6 True
7 >>> import3() == (cmd, core, version)
8 True
9 >>> import4() == (cmd, core, version)
10 True
11 """
13 def import1():
14 from distutils import (
16 cmd,
18 core, version)
19 return cmd, core, version
22 def import2():
23 from distutils import (cmd,
25 core,
28 version
29 )
30 return cmd, core, version
33 def import3():
34 from distutils import (cmd, core,version)
35 return cmd, core, version
37 def import4():
38 from distutils import cmd, core, version
39 return cmd, core, version