schrodinger.utils.withnone module
Functions for working with lists that may contain None
.
-
schrodinger.utils.withnone.
sorted_with_none
(items, *, key=None, reverse=False)[source]
-
schrodinger.utils.withnone.
sort_with_none
(items, *, key=None, reverse=False)[source]
-
schrodinger.utils.withnone.
min_with_none
(*args, key=None, default=None)[source]
-
schrodinger.utils.withnone.
max_with_none
(*args, key=None, default=None)[source]