nl: call the method self.appendlist with 2 arguments: return value of the function force_text with 3 arguments:
code: self . appendlist ( force_text ( key , encoding , errors = 'replace' ) , force_text ( value , encoding , errors = 'replace' ) )