Simplify Python code
1 file changed