(self, *args, **kwds)
| 19 | class OrderedDict(dict, DictMixin): |
| 20 | |
| 21 | def __init__(self, *args, **kwds): |
| 22 | if len(args) > 1: |
| 23 | raise TypeError('expected at most 1 arguments, got %d' % len(args)) |
| 24 | try: |
| 25 | self.__end |
| 26 | except AttributeError: |
| 27 | self.clear() |
| 28 | self.update(*args, **kwds) |
| 29 | |
| 30 | def clear(self): |
| 31 | self.__end = end = [] |