On Sat, May 26, 2018 at 12:00:45PM +0300, Kirill Balunov wrote: > > It looks like a function you could call from anywhere, but you want > > to limit it to just "while" and "if", I expect that will just give us a > > flood of questions on Stackoverflow and other forums, "why can't I use > > this() outside of if and while loops?" > > I do not know how you decided that I propose to limit this call-alike > variant only to `while` and `if`statements. I did not say that. I just said > that personally I'm interested and see the advantages of using it only in > `while` and `if` statements. Of course you are right that you can call it > from anywhere.
My mistake, sorry. -- Steve _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/