def parsestream(stream, encoding=None):
 stack = engine.FilterStack()
 stack.enable_grouping()
 return stack.run(stream, encoding)

def parsestream ( stream , encoding = None ) : stack = engine . FilterStack ( ) stack . enable_grouping ( ) return stack . run ( stream , encoding )
parses sql statements from file-like object .