#NEWLINE# def geom_output( func , argtypes ) : #NEWLINE# #INDENT# 'For GEOS routines that return a geometry.' #NEWLINE# if func : #NEWLINE# #INDENT# func . argtypes = argtypes #NEWLINE# #UNINDENT# func . restype = GEOM_PTR #NEWLINE# func . errcheck = check_geom #NEWLINE# return func