Skip to content

Depth argument of flat is not applied #16

@TitanNano

Description

@TitanNano

.flat() always flattens until there is no iterator left. This is wrong as it should respect the depth argument which defaults to 1. Only depth amount of nesting should be flattened.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions