Mercurial > cpython-lru_cache-weakref
diff Lib/lib-stdwin/mainloop.py @ 1435:560ec7030817 legacy-trunk
* Mass change: get rid of all init() methods, in favor of __init__()
constructors. There is no backward compatibility. Not everything has
been tested.
* aiff.{py,doc}: deleted in favor of aifc.py (which contains its docs as
comments)
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 17 Dec 1993 15:25:27 +0000 |
| parents | ea8d4cce782b |
| children |
line wrap: on
line diff
--- a/Lib/lib-stdwin/mainloop.py Fri Dec 17 15:18:37 1993 +0000 +++ b/Lib/lib-stdwin/mainloop.py Fri Dec 17 15:25:27 1993 +0000 @@ -224,11 +224,10 @@ # class Dialog: # - def init(self, title): + def __init__(self, title): self.window = stdwin.open(title) self.window.dispatch = self.dispatch register(self.window) - return self # def close(self): unregister(self.window)
