None
>>> print (Ext.attr4.__doc__)
attr4 docstring
- >>> print (Ext.attr5.__doc__)
- attr5 docstring
>>> print (Ext.a.__doc__)
Ext.a(self)
>>> print (f_defexpr4.__doc__)
f_defexpr4(int x=(Ext.CONST1 + FLAG1) * Ext.CONST2)
+
+ >>> print (f_defexpr5.__doc__)
+ f_defexpr5(int x=4)
"""
cdef class Ext:
cdef public list attr2
cdef public Ext attr3
cdef int attr4
- cdef attr5
- """private attr5 docstring"""
CONST1, CONST2 = 1, 2
def __get__(self):
return self.attr4
- property attr5:
- """attr5 docstring"""
- def __get__(self):
- return self.attr4
-
def __init__(self, a, b, c=None):
pass
cpdef f_defexpr4(int x = (Ext.CONST1 + FLAG1) * Ext.CONST2):
pass
+
+cpdef f_defexpr5(int x = 2+2):
+ pass