#NEWLINE# @ property #NEWLINE# def version_string( self ) : #NEWLINE# #INDENT# 'makes a nice version string that we can use for reconstruction' #NEWLINE# result = '.' . join ( [ str ( self . major ) , str ( self . minor ) , str ( self . micro ) ] ) #NEWLINE# if self . prerelease : #NEWLINE# #INDENT# result += ( '.%s' % str ( self . prerelease ) ) #NEWLINE# #UNINDENT# return result