where '%s' is replaced with command and result of the function get_text_list called with an argument list, with p converted into a string and surrounded with single quotes for every p in parse_until. call the method self.error with 2 arguments: token and string "Invalid block tag: '%s'", where '%s' is replaced with command,
raise self . error ( token , "Invalid block tag: '%s'" % command )