diff --git a/source/_static/code/fasta_object.py b/source/_static/code/fasta_object.py
index a1f9b7b8272a3812ea55dc53966de8fc849b65b8..09c7b878053b8f4362e7b596e14c54367c775489 100644
--- a/source/_static/code/fasta_object.py
+++ b/source/_static/code/fasta_object.py
@@ -17,6 +17,11 @@ class FastaParser(object):
         self._current_sequence = ''
 
     def _parse_header(self, line):
+        """
+        parse the header line and  _current_id|comment|sequence attributes
+        :param line: the line of header in fasta format
+        :type line: string
+        """
         header = line.split()
         self._current_id = header[0]
         self._current_comment = ' '.join(header[1:])
@@ -26,6 +31,13 @@ class FastaParser(object):
         return self
 
     def next(self):
+        """
+        :return: at each call return a new :class:`Sequence` object
+        :raise: StopIteration
+        """
+        """
+        :return:
+        """
         for line in self._file:
             if line.startswith('>'):
                 # a new sequence begin