Changeset 165 for 06/devel/abstractBoardPY.py
- Timestamp:
- 09/28/04 22:06:29 (4 years ago)
- Files:
-
- 06/devel/abstractBoardPY.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
06/devel/abstractBoardPY.py
r164 r165 58 58 ab = abstractBoard(self.boardsize) 59 59 ab.status = deepcopy(self.status) 60 ab.undostack = deepcopy( ab.undostack)60 ab.undostack = deepcopy(self.undostack) 61 61 return ab 62 62 … … 69 69 """ Return number of captured stones in last move. """ 70 70 71 if not self.undostack: 72 print 'no undostack' 73 return 0 74 elif len(self.undostack[-1]) < 3: print self.undostack[-1] 71 75 return len(self.undostack[-1][2]) 72 76
