Skip to content

Instantly share code, notes, and snippets.

@kunigami
Created November 9, 2019 23:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kunigami/d5e1bf3cdade0ed0881afb4f763f75b3 to your computer and use it in GitHub Desktop.
Save kunigami/d5e1bf3cdade0ed0881afb4f763f75b3 to your computer and use it in GitHub Desktop.
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