Revert "Revert "Fix assignment to `self`""
Revert "Revert "Fix assignment to `self`""

This reverts commit f0472008a9e3532f4eba0235471709b5a7fb0a04.

madan96/sympy,jaimahajan1997/sympy,yashsharan/sympy,chaffra/sympy,kaushik94/sympy,chaffra/sympy,skidzo/sympy,skidzo/sympy,kaushik94/sympy,yashsharan/sympy,kaushik94/sympy,jaimahajan1997/sympy,jaimahajan1997/sympy,chaffra/sympy,madan96/sympy,skidzo/sympy,yashsharan/sympy,madan96/sympy