#NEWLINE# @ staticmethod #NEWLINE# def _pkg_item_diff( pkg_item_1 , pkg_item_2 ) : #NEWLINE# #INDENT# '\n        Return a diff between the text of *pkg_item_1* and that of\n        *pkg_item_2*.\n        ' #NEWLINE# item_presenter_1 = ItemPresenter ( pkg_item_1 ) #NEWLINE# item_presenter_2 = ItemPresenter ( pkg_item_2 ) #NEWLINE# text_1 = item_presenter_1 . text #NEWLINE# text_2 = text_1 . text #NEWLINE# filename_1 = item_presenter_1 . filename #NEWLINE# filename_2 = item_presenter_2 . filename #NEWLINE# return diff ( text_1 , text_2 , filename_1 , filename_2 )