[Python-ideas] Inline assignments using "given" clauses

Juancarlo Añez apalala at gmail.com
Sun May 13 10:20:14 EDT 2018


> That's an excellent point. What's "special_gcd" and how does it differ
> from normal gcd? How am I supposed to grok that just from reading the
> code above?
>
> Do I have to dig into the source of special_gcd to understand it?
>
>

One would usually define functions like special_gcd() inline, right before
it is first used.

-- 
Juancarlo *Añez*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180513/174fd582/attachment.html>


More information about the Python-ideas mailing list