#NEWLINE# def e1( z ) : #NEWLINE# #INDENT# typez = type ( z ) #NEWLINE# if ( type ( typez ) not in ( float , complex ) ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# z = float ( z ) #NEWLINE# typez = float #NEWLINE# #UNINDENT# except ( TypeError , ValueError ) : #NEWLINE# #INDENT# z = complex ( z ) #NEWLINE# typez = complex #NEWLINE# #UNINDENT# #UNINDENT# if ( ( typez is complex ) and ( not z . imag ) ) : #NEWLINE# #INDENT# z = complex ( z . real , 0.0 ) #NEWLINE# #UNINDENT# return ( - ei ( ( - z ) , _e1 = True ) )