[elbe-devel] [PATCH 06/14] Debianize - Grid widget
Olivier Dion
dion at linutronix.de
Thu Aug 1 17:07:26 CEST 2019
On 2019-08-01T15:13:42+0200, Bastian Germann <bage at linutronix.de> wrote:
> > + self.keybind = {
> > + "down" : lambda: self.focus_recursive(forward=True, horizontal=False),
> > + "up" : lambda: self.focus_recursive(forward=False, horizontal=False),
> > + "tab" : lambda: self.focus_recursive(forward=True, horizontal=True),
> > + "shift tab": lambda: self.focus_recursive(forward=False, horizontal=True)
> We only have one lambda in the current code base. If you can avoid it
> here, please do so.
I will not change this since this code is supported by Python2 and
changing it would result in more boiler plate codes.
--
Olivier Dion
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
More information about the elbe-devel
mailing list