Add python snippet

This commit is contained in:
Taryel Hlontsi 2025-05-23 21:13:57 +02:00
parent 379d90d9b5
commit cea5e1d0fb
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
# -*- mode: python -*-
# name: first-only
# key: fo
# --
$0 = next(filter(lambda x: x.__name__ == name, values), None)