8000 Add @unpack decorator · Issue #61 · Suor/funcy · GitHub
[go: up one dir, main page]

Skip to content 8000

Add @unpack decorator #61

@ADR-007

Description

@ADR-007

I propose to add decorator which will unpack argument:

    def process(foo, bar):
        ...
    
    map(unpack(process), product(['foo1', 'foo2'], ['bar1', 'bar2']))

This decorator already is in ddt library, but it will be
strange if I will install this module only for this.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0