You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reversed(seq)
Return a reverse iterator. seq must be an object which has
a __reversed__() method or supports the sequence protocol
(the __len__() method and the __getitem__() method with integer
arguments starting at 0).
niklasf/python-chess/issues/319 enabled use of reversed(node.mainline()): node.mainline() now returns an iterator of GameNodes, not Moves, and .mainline() supports the sequence protocol.
This is one of those "what was I thinking?" moments now that I've had some time to level up my python since I wrote this.
The text was updated successfully, but these errors were encountered: