#NEWLINE# def remove_session( self , session_id ) : #NEWLINE# #INDENT# 'Invalidate the session with the given ``session_id``.\n    ' #NEWLINE# if self . _session_cache : #NEWLINE# #INDENT# self . _session_cache . remove_session ( session_id ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _remove_session ( session_id )