Cython has moved to github.

cython-devel

view tests/run/extmember.pyx @ 904:8b22ff3db9f7

Public extension type properties working from pxd

The issue was that pxd files don't get transformed yet.
author Robert Bradshaw <robertwb@math.washington.edu>
date Sat Aug 02 19:16:28 2008 -0700 (3 years ago)
parents tests/errors/e_extmember.pyx@23cd80026a27
children e5976a417edf
line source
1 __doc__ = """
2 >>> s = Spam()
3 >>> s.e = s
4 >>> s.e = 1
5 Traceback (most recent call last):
6 TypeError: Cannot convert int to extmember.Spam
7 >>> s.e is s
8 True
9 >>> s.e = None
10 """
12 cdef class Spam:
13 cdef public Spam e