Skip to content

when a default arg is a [] #1

@rbuckland

Description

@rbuckland

An issue was encountered when a default arg value was a list

def func(a=[]):
   ...

the base bug found is that the dict mixing default args and values had them swapped around.
The fix and a test case is added in the PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions