#NEWLINE# @ name . setter #NEWLINE# def name( self , new_name ) : #NEWLINE# #INDENT# 'Sets the name of the scene.' #NEWLINE# if ( not isinstance ( new_name , str ) ) : #NEWLINE# #INDENT# raise TypeError ( "'name' should be a valid string." ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _name = new_name