Logo Search packages:      
Sourcecode: ipython version File versions  Download package

def docscrape::Reader::__init__ (   self,
  data 
)

Parameters
----------
data : str
   String with lines separated by '\n'.

Definition at line 16 of file docscrape.py.

00016                             :
        """
        Parameters
        ----------
        data : str
           String with lines separated by '\n'.

        """
        if isinstance(data,list):
            self._str = data
        else:
            self._str = data.split('\n') # store string as list of lines

        self.reset()

    def __getitem__(self, n):


Generated by  Doxygen 1.6.0   Back to index