parameters: (self, text)
return_statement: return stripped
docstring: Remove curly brackets from processed Latex code
  
          A function that always returns unicode. It also tries to recurse into
          lists and dicts, but be careful this is not thoroughly tested.
docstring_summary: Remove curly brackets from processed Latex code
docstring_tokens: Remove curly brackets from processed Latex code
function: def stripCurls(self, text):
          """Remove curly brackets from processed Latex code
  
          A function that always returns unicode. It also tries to recurse into
          lists and dicts, but be careful this is not thoroughly tested.
          """
          table = {ord(u'{'): None, ord(u'}'): None}
  
          if isinstance(text, str):  # ordinary string
              pass
          else:
              try:
                  for k in text.keys():
                      text[k] = self.stripCurls(text[k])
              except AttributeError:
                  pass
              # Check for list
              if isinstance(text, type([])):
                  for i in range(len(text)):
                      text[i] = self.stripCurls(text[i])
              # return the plain object
              return text
  
          stripped = text.translate(table)
          return stripped
function_tokens: def stripCurls ( self , text ) : table = { ord ( u'{' ) : None , ord ( u'}' ) : None } if isinstance ( text , str ) : # ordinary string pass else : try : for k in text . keys ( ) : text [ k ] = self . stripCurls ( text [ k ] ) except AttributeError : pass # Check for list if isinstance ( text , type ( [ ] ) ) : for i in range ( len ( text ) ) : text [ i ] = self . stripCurls ( text [ i ] ) # return the plain object return text stripped = text . translate ( table ) return stripped