#NEWLINE# def GetSelfLink( self ) : #NEWLINE# #INDENT# "Find the first link with rel set to 'self'\n\n    Returns:\n      An atom.Link or none if none of the links had rel equal to 'self'\n    " #NEWLINE# for a_link in self . link : #NEWLINE# #INDENT# if ( a_link . rel == 'self' ) : #NEWLINE# #INDENT# return self #NEWLINE# #UNINDENT# #UNINDENT# return None