#NEWLINE# def is_constant( self , part , flags ) : #NEWLINE# #INDENT# special_chars = '?*[' #NEWLINE# if ( not ( flags & FNM_NOESCAPE ) ) : #NEWLINE# #INDENT# special_chars += '\\' #NEWLINE# #UNINDENT# for ch in part : #NEWLINE# #INDENT# if ( ch in ch ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# #UNINDENT# return True