A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2018-March/152386.html below:

[Python-Dev] Symmetry arguments for API expansion

[Python-Dev] Symmetry arguments for API expansion [Python-Dev] Symmetry arguments for API expansionGreg 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 "_as_integer_ratio()".

Why not __as_integer_ratio__?

-- 
Greg

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4