1# ticket: 166 2 3__doc__ = u""" 4>>> l = None 5>>> l.append(2) 6Traceback (most recent call last): 7AttributeError: 'NoneType' object has no attribute 'append' 8 9""" 10 11def append_to_none(): 12 """ 13 >>> append_to_none() 14 Traceback (most recent call last): 15 AttributeError: 'NoneType' object has no attribute 'append' 16 """ 17 cdef list l = None 18 l.append(2) 19