#NEWLINE# def maxpriority( self ) : #NEWLINE# #INDENT# '\n        Return the numerical value of the highest priority present throughout\n        all settings, or the numerical value for ``default`` from\n        :attr:`~scrapy.settings.SETTINGS_PRIORITIES` if there are no settings\n        stored.\n        ' #NEWLINE# if ( len ( self ) > 0 ) : #NEWLINE# #INDENT# return max ( ( self . getpriority ( self ) for name in self ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return get_settings_priority ( 'default' )