1# ticket: 354
2
3cdef class Test:
4    """
5    >>> t = Test(True)
6    >>> t.some_ro_bool
7    True
8    >>> t.some_public_bool
9    True
10    """
11    cdef public bint some_public_bool
12    cdef readonly bint some_ro_bool
13
14    def __init__(self, bint boolval):
15        self.some_ro_bool = boolval
16        self.some_public_bool = boolval
17