Added callable context vs. self argument validation in CheckFrame, plus a test
which detects an attempt to fake the self argument with an incompatible
instance.
1#!/usr/bin/env python 2 3classB: 4pass 5 6classA: 7c0=B 8def__init__(self): 9self.c2=B 10 11a=A() 12 13# context on A attribute context on a attribute 14A.c0# none none 15a.c2# N/A none 16 17# vim: tabstop=4 expandtab shiftwidth=4