#NEWLINE# def as_text( self ) : #NEWLINE# #INDENT# '\n        Return a textual representation of this key.\n        ' #NEWLINE# if self . secret_exponent ( ) : #NEWLINE# #INDENT# return self . wif ( ) #NEWLINE# #UNINDENT# sec_hex = self . sec_as_hex ( ) #NEWLINE# if sec_hex : #NEWLINE# #INDENT# return sec_hex #NEWLINE# #UNINDENT# return self . address ( )