edit by python code style