I think it's modelled after the function `tan`: https://github.com/sushant-hiray/sympy/blob/trig_taylor_term/sympy/functions/elementary/trigonometric.py#L995 which also doesn't use `previous_terms`. That being said, I had the same question in my head.