17.07.18 17:59, Guido van Rossum пише: > The PEP has no specific opinion except it is not forbidden. > > Personally I like Barry's example just fine -- assuming `subdirs` is not > used later, this feels like a good use case. Shouldn't this problem be solved in the same way as for comprehensions? Should not the assert statement introduce an implicit lexical scope for preventing leaking variables?
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