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

def uligo::App::findNextParenthesis (   self,
  s,
  i 
)

Finds the first '(' after position i in the string s.
    Used to split the SGF file into single problems in readProblemColl. 

Definition at line 811 of file uligo.py.

00811                                      :
        """ Finds the first '(' after position i in the string s.
            Used to split the SGF file into single problems in readProblemColl. """
        
        j = i
        while j<len(s) and s[j] != '(':
            j = j + 1
        return j


    def findMatchingParenthesis(self,s,i):


Generated by  Doxygen 1.6.0   Back to index