Skip to content
This repository was archived by the owner on Jun 20, 2020. It is now read-only.
This repository was archived by the owner on Jun 20, 2020. It is now read-only.

Issue with lambda statement using python 3.5 #12

@tbhadra

Description

@tbhadra

Hi,
Lambda definition is-
get_path = lambda tiles, pos, path : path
Lambda call is-
sorted_by_path = sorted(labels, key=get_path)

Call to lambda with multiple positional arguments must be accompanied with arguments, but now there arises a error:-
TypeError: () missing 2 required positional arguments: 'pos' and 'path'

File name=geo_util.py

I don't know if anyone will respond to my issue.

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