def subPre(sub, a, b):
    """
    a pre-hook for the subclass
    """
    sub.calledSubPre = sub.calledSubPre + 1
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_hook.py/subPre/original