Skip to content

Commit 0a44218

Browse files
committed
Comment for clarification.
1 parent aa41e59 commit 0a44218

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

openml/flows/sklearn_converter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ def flatten_all(list_):
527527
and all([isinstance(rval_i, type(rval[0])) for rval_i in rval])
528528
)
529529

530+
# Check that all list elements are of simple types.
530531
nested_list_of_simple_types = (
531532
is_non_empty_list_of_lists_with_same_type
532533
and all([isinstance(el, SIMPLE_TYPES) for el in flatten_all(rval)])

0 commit comments

Comments
 (0)