call the options.get method with string 'MAX_ENTRIES' and integer 300 as arguments, use the string 'max_entries' and previous result as the arguments for the call to the params.get method, substitute the result for max_entries.
max_entries = params . get ( 'max_entries' , options . get ( 'MAX_ENTRIES' , 300 ) )