Skip to content

this line is wrong #172

Description

@mylyes

ref_lens = (len(reference) for reference in references)

parameter ‘reference‘ is a type of list(list(str),dict(str)), but not list(str), so i think this line should be
'ref_lens = (len(reference[0]) for reference in references)'

Activity

  1. celbree commented on Nov 7, 2023

    @celbree
    Contributor

    The type of references is list(list(str)), like said in the docstring.

  2. mylyes commented on Nov 7, 2023

    @mylyes
    Author

    image
    image
    image

    I review the code and debug it ,the reference is type of list(list(str), dict(str)) indeed, I hope you can review it pls, ty

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions