#NEWLINE# def topology( func , * args ) : #NEWLINE# #INDENT# 'For GEOS unary topology functions.' #NEWLINE# argtypes = [ GEOM_PTR ] #NEWLINE# if args : #NEWLINE# #INDENT# argtypes += args #NEWLINE# #UNINDENT# func . argtypes = argtypes #NEWLINE# func . restype = GEOM_PTR #NEWLINE# func . errcheck = check_geom #NEWLINE# return func