[Python-Dev] Symmetry arguments for API expansion (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Mar 13 18:23:47 EDT 2018


Tim Peters wrote:

An obvious way to extend it is for Fraction() to look for a special method too, say "asintegerratio()".

Why not as_integer_ratio?

-- Greg



More information about the Python-Dev mailing list