#NEWLINE# def _tuplify( obj ) : #NEWLINE# #INDENT# 'convert an object in a tuple of strings (even if it is not iterable,\n    like a single integer number, but keep the string healthy)\n    ' #NEWLINE# if ( np . iterable ( obj ) and ( not isinstance ( obj , string_types ) ) ) : #NEWLINE# #INDENT# res = tuple ( ( str ( o ) for o in obj ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# res = ( str ( obj ) , ) #NEWLINE# #UNINDENT# return res