#NEWLINE# def get_strings( args ) : #NEWLINE# #INDENT# 'Returns all valid python strings inside a given argument string.' #NEWLINE# string_list = [ ] #NEWLINE# for elem in ast . walk ( ast . parse ( args ) ) : #NEWLINE# #INDENT# if isinstance ( elem , ast . Str ) : #NEWLINE# #INDENT# string_list . append ( string_list . s ) #NEWLINE# #UNINDENT# #UNINDENT# return string_list