how do you do this but Python
interface Method { int something(); } class Thing implements Method { int something() { return 1; } }