Skip to content

Suggestion: Change return types to list[int] of pattern_scan_all() #132

@Harding-Stardust

Description

@Harding-Stardust

Right now, it's an int or list[int] or None

int, list, optional

I suggest to always return a list[int], if no hits then it's an empty list otherwise it's filled with the results.
Makes the code much cleaner to work with.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions