Restricted attribute assignments observed through usage analysis to instance attributes only.
1#!/usr/bin/env python 2 3classC: 4defmethod(self): 5return123 6 7classD: 8method=C.method# won't rebind to D 9 10c=C() 11d=D() 12result_123=c.method() 13result2_123=d.method(c)# need D instance to function 14 15# vim: tabstop=4 expandtab shiftwidth=4