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 3deff(a,b,c=a+b): 4returna+b+c 5 6a=10# used in f default 7b=20# used in f default 8x=f(1,2) 9 10# vim: tabstop=4 expandtab shiftwidth=4