#NEWLINE# def set_srid( self , srid ) : #NEWLINE# #INDENT# if isinstance ( srid , ( int , long ) ) : #NEWLINE# #INDENT# self . srs = srid #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise TypeError ( 'SRID must be set with an integer.' )