Neal Becker <ndbecker2 at gmail.com> wrote: > > class X (object): > pass > > X() += 2 > > > SyntaxError: can't assign to function call [snip] > Does anyone else think this would be a good addition to Python? No. += implies assignment. As the syntax error states, "can't assign to function call". -1 - Josiah
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