#NEWLINE# def edit( self , repo , id , name , color , user = None ) : #NEWLINE# #INDENT# msg = IssueLabel ( name = name , color = color ) #NEWLINE# return self . client . patch ( ( 'repos/%s/%s/labels/%s' % ( repo , self . client . user ( user ) , id ) ) , data = msg )