Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the fractcions module so that __rpow__ works on arbitrary classes.
The fraction module implicitly casted float if __rpow__ was implemented in your class when raising a fraction to a power. Now it isn't done but will raise an exception if __rpow__ isn't implemented.
- Loading branch information