#!/usr/local/bin/python2 class C(object): def f(self): print 1 c = C() c.f = []