def maximum_line_length(physical_line):
 length = len(physical_line.rstrip())
 if (length > 79):
  return (79, ('E501 line too long (%d characters)' % length))

def maximum_line_length ( physical_line ) : length = len ( physical_line . rstrip ( ) ) if ( length > 79 ) : return ( 79 , ( 'E501 line too long (%d characters)' % length ) )
limit all lines to a maximum of 79 characters .