paul@686 | 1 | #!/usr/bin/env python |
paul@686 | 2 | |
paul@686 | 3 | """ |
paul@686 | 4 | Collections. |
paul@686 | 5 | |
paul@686 | 6 | Copyright (C) 2013 Paul Boddie <paul@boddie.org.uk> |
paul@686 | 7 | |
paul@686 | 8 | This program is free software; you can redistribute it and/or modify it under |
paul@686 | 9 | the terms of the GNU General Public License as published by the Free Software |
paul@686 | 10 | Foundation; either version 3 of the License, or (at your option) any later |
paul@686 | 11 | version. |
paul@686 | 12 | |
paul@686 | 13 | This program is distributed in the hope that it will be useful, but WITHOUT |
paul@686 | 14 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
paul@686 | 15 | FOR A PARTICULAR PURPOSE. See the GNU General Public License for more |
paul@686 | 16 | details. |
paul@686 | 17 | |
paul@686 | 18 | You should have received a copy of the GNU General Public License along with |
paul@686 | 19 | this program. If not, see <http://www.gnu.org/licenses/>. |
paul@686 | 20 | """ |
paul@686 | 21 | |
paul@686 | 22 | class defaultdict(dict): |
paul@686 | 23 | pass |
paul@686 | 24 | |
paul@686 | 25 | class deque(object): |
paul@686 | 26 | def append(x): pass |
paul@686 | 27 | def appendleft(x): pass |
paul@686 | 28 | def clear(): pass |
paul@686 | 29 | def extend(iterable): pass |
paul@686 | 30 | def extendleft(iterable): pass |
paul@686 | 31 | def pop(): pass |
paul@686 | 32 | def popleft(): pass |
paul@686 | 33 | def remove(value): pass |
paul@686 | 34 | def rotate(n): pass |
paul@686 | 35 | |
paul@686 | 36 | # vim: tabstop=4 expandtab shiftwidth=4 |