#NEWLINE# def find_previous_sibling( self , name = None , attrs = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , text = None , **kwargs ) : #NEWLINE# #INDENT# 'Returns the closest sibling to this Tag that matches the\n        given criteria and appears before this Tag in the document.' #NEWLINE# return self . _find_one ( self . find_previous_siblings , name , self , text , ** kwargs )