Binomial expansion for $(x+a)^n$ for non-integer n

The Binomial theorem for any index $n\in\mathbb{R}$ with $|x|<1,$ is

$(1+x)^n=1+nx+\frac{n(n-1)}{2!}x^2+\frac{n(n-1)(n-2)}{3!}x^3+\ldots$

For $(x+a)^\pi$ one could take $x$ or $a$ common according as if $|a|<|x|$ or $|a|<|x|$ and use Binomial theorem for any index. i.e., $x^\pi(1+a/x)^\pi$ in case $|a|<|x|.$