[Python-ideas] Backtick expression: similar to a shorter lambda syntax
shoyer at gmail.com
Tue Jan 22 13:24:41 EST 2019
On Mon, Jan 21, 2019 at 8:47 AM Jonathan Fine <jfine2358 at gmail.com> wrote:
> > Backtick expressions work exactly like lambdas, except that they are
> bound to the instance they are created in every time that class is used to
> create one.
> I would if possible very much like to see some real world examples of
> Python code, that would benefit by being rewritten to use the new
> I'm particularly interested in examples that were written before this
> idea was posted to this list. And extra points for links with line
> numbers to Python code in a public git repository.
This has come up a few times before on Python-Ideas. Here are a few
examples from 2015 (but please read the full thread for discussion):
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas