def format_seconds(self, n_seconds):
func = self.ok<EOL>if n_seconds >= <NUM_LIT>:<EOL><INDENT>n_minutes, n_seconds = divmod(n_seconds, <NUM_LIT>)<EOL>return "<STR_LIT>" % (<EOL>func("<STR_LIT>" % n_minutes),<EOL>func("<STR_LIT>" % n_seconds))<EOL><DEDENT>else:<EOL><INDENT>return "<STR_LIT>" % (<EOL>func("<STR_LIT>" % n_seconds))<EOL><DEDENT>
Format a time in seconds.