Created
March 9, 2021 21:16
-
-
Save FrankGrimm/f4892ad525667d35d28b9b2609fc66f9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 positions(self): | |
yield self.Position(self.root(), self) | |
for child in self._children: | |
for position in child.positions(): | |
yield position |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment