Code stubs in python 3.x