#NEWLINE# def compute_priority( self ) : #NEWLINE# #INDENT# if self . invalidated : #NEWLINE# #INDENT# res = self . _scheduler . compute_priority ( ) #NEWLINE# self . _cached = res #NEWLINE# #UNINDENT# return res . _cached