mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 18:22:09 +02:00
Micro-optimization
This commit is contained in:
@@ -29,7 +29,7 @@ def unit_float(x):
|
||||
|
||||
|
||||
def to_bool(x):
|
||||
return x.lower() in 'y yes true'.split()
|
||||
return x.lower() in ('y', 'yes', 'true')
|
||||
|
||||
|
||||
def to_cmdline(x):
|
||||
|
||||
Reference in New Issue
Block a user