call the method self.extend_nodelist with 3 arguments: nodelist, instance of TextNode class, created with an argument token.contents,
self . extend_nodelist ( nodelist , TextNode ( token . contents ) , token )