<s> from __future__ import print_function , division <EOL> from sympy . core . sympify import sympify <EOL> def series ( expr , x = None , x0 = <NUM_LIT:0> , n = <NUM_LIT:6> , dir = "<STR_LIT:+>" ) : <EOL> """<STR_LIT>""" <EOL> expr = sympify ( expr ) <EOL> return expr . series ( x , x0 , n , dir ) </s>
