[Python-Dev] Symmetry arguments for API expansion (original) (raw)
Tim Peters tim.peters at gmail.com
Tue Mar 13 18:29:19 EDT 2018
- Previous message (by thread): [Python-Dev] Symmetry arguments for API expansion
- Next message (by thread): [Python-Dev] Symmetry arguments for API expansion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Tim]
An obvious way to extend it is for Fraction() to look for a special method too, say "asintegerratio()".
[Greg Ewing]
Why not asintegerratio?
Because. at this point, that would be beating a dead horse ;-)
- Previous message (by thread): [Python-Dev] Symmetry arguments for API expansion
- Next message (by thread): [Python-Dev] Symmetry arguments for API expansion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]