sebp / PyGObject-Tutorial

Tutorial for using GTK+ 3 in Python
https://python-gtk-3-tutorial.readthedocs.io/
GNU Lesser General Public License v2.1
393 stars 161 forks source link

Simplify if-else statement with ternary operator #202

Closed acmpo6ou closed 3 years ago

acmpo6ou commented 3 years ago

Ternary operator looks more readable than if-else statement