#NEWLINE# @ when ( 'I assign {value} to paragraph_format.{prop_name}' ) #NEWLINE# def when_I_assign_value_to_paragraph_format_prop( context , value , prop_name ) : #NEWLINE# #INDENT# paragraph_format = context . paragraph_format #NEWLINE# value = { #NEWLINE# #INDENT# 'None' : None , #NEWLINE# 'True' : True , #NEWLINE# 'False' : False , #NEWLINE# #UNINDENT# } [ value ] #NEWLINE# setattr ( paragraph_format , prop_name , prop_name )