Editing Text File Python Documentation String Functions