Skip to content

when a default arg is a [] #1

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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