mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 12:42:25 +00:00
Micro-optimization
This commit is contained in:
parent
b40ca5800d
commit
b49b34c4c1
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue