On Fri, Jul 01, 2005, Ralf W. Grosse-Kunstleve wrote: > > I often find myself writing: > > class grouping: > > def __init__(self, x, y, z): > self.x = x > self.y = y > self.z = z > > I hate it, and every time I show this to a Python newcomer I get that > skeptic look. How about this for a change? > > class grouping: > > def __init__(self, .x, .y, .z): > pass This is off-topic for python-dev. Please take it to comp.lang.python. (It's not immediately obvious that this is off-topic, I know, but please take my word for it.) -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ f u cn rd ths, u cn gt a gd jb n nx prgrmmng.
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