#NEWLINE# def __repr__( self ) : #NEWLINE# #INDENT# 'Return a string representation of the PDU.' #NEWLINE# sname = ( ( self . __module__ + '.' ) + self . __class__ . __name__ ) #NEWLINE# stype = apdu_types . get ( self . apduType , None ) #NEWLINE# if stype : #NEWLINE# #INDENT# stype = stype . __name__ #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# stype = '?' #NEWLINE# #UNINDENT# if ( self . apduInvokeID is not None ) : #NEWLINE# #INDENT# stype += ( ',' + str ( self . apduInvokeID ) ) #NEWLINE# #UNINDENT# return '<{0}({1}) instance at {2}>' . format ( sname , stype , hex ( id ( self ) ) )