> So nested scopes are not really an alternative (at least in this case) > to the 'lambda self, i=i: i' trick. In this case, they aren't. In many other cases (e.g. when the variable from the outer scope is self), nobody will assign to this variable, in which case this does exactly the same thing as the i=i trick. Regards, Martin
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