Created
November 9, 2019 23:02
-
-
Save kunigami/d5e1bf3cdade0ed0881afb4f763f75b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_matches(self): | |
matches = [] | |
output = self | |
while output is not None: | |
if (output.entry is not None): | |
matches.append(output.entry) | |
output = output.output | |
return matches |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment