Formatting
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import re
|
||||
|
||||
|
||||
def first_or_none(predicate, lst):
|
||||
return next((x for x in lst if predicate(x)), None)
|
||||
|
||||
|
Reference in New Issue
Block a user