(self, value)
Appends an item to the list

      Example:
         >>> g = G1DBinaryString(2)
         >>> g.append(0)

      :param value: value to be added, 0 or 1
Appends an item to the list
Appends an item to the list
def append(self, value):
      """ Appends an item to the list

      Example:
         >>> g = G1DBinaryString(2)
         >>> g.append(0)

      :param value: value to be added, 0 or 1

      """
      if value not in [0, 1]:
         Util.raiseException("The value must be 0 or 1", ValueError)
      G1DBase.append(self, value)
def append ( self , value ) : if value not in [ 0 , 1 ] : Util . raiseException ( "The value must be 0 or 1" , ValueError ) G1DBase . append ( self , value )