#NEWLINE# def _eval_aseries( self , n , args0 , x , logx ) : #NEWLINE# #INDENT# from sympy import Order #NEWLINE# if ( args0 [ 0 ] != S . Infinity ) : #NEWLINE# #INDENT# return super ( _erfs , self ) . _eval_aseries ( n , args0 , x , logx ) #NEWLINE# #UNINDENT# z = z . args [ 0 ] #NEWLINE# l = [ ( factorial ( k ) * ( ( 1 / z ) ** ( k + 1 ) ) ) for k in range ( 0 , n ) ] #NEWLINE# o = Order ( ( 1 / ( z ** ( n + 1 ) ) ) , x ) #NEWLINE# return ( Add ( * l ) . _eval_nseries ( x , n , logx ) + o )