Currently if flatten() is passed a non-list object, it returns that object. This is surprising behavior, and prone to causing serious and numerous problems, since many objects implement the iterable interface, and thus can be used in cases a list is expected, but with undesirable results.pull/1735/head
parent
1a87c967f1
commit
e419198ff8
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue