import a
import b
from b import myfunc as myfuncb


def myfunc():
    print('from main')


oldbfunc = b.myfunc
b.myfunc = myfunc
b.myfunc()
a.myfunc()
a.b.myfunc()
myfuncb()
oldbfunc()

7fce07c93b401af99e99fa458336b06764ec6638
<mask token>


def myfunc():
    print('from main')


<mask token>

<mask token>


def myfunc():
    print('from main')


<mask token>
b.myfunc()
a.myfunc()
a.b.myfunc()
myfuncb()
oldbfunc()

<mask token>


def myfunc():
    print('from main')


oldbfunc = b.myfunc
b.myfunc = myfunc
b.myfunc()
a.myfunc()
a.b.myfunc()
myfuncb()
oldbfunc()

import a
import b
from b import myfunc as myfuncb


def myfunc():
    print('from main')


oldbfunc = b.myfunc
b.myfunc = myfunc
b.myfunc()
a.myfunc()
a.b.myfunc()
myfuncb()
oldbfunc()
