(self, *args, **kwds)
| 31 | class OrderedDict(dict, DictMixin): |
| 32 | |
| 33 | def __init__(self, *args, **kwds): |
| 34 | if len(args) > 1: |
| 35 | raise TypeError('expected at most 1 arguments, got %d' % len(args)) |
| 36 | try: |
| 37 | self.__end |
| 38 | except AttributeError: |
| 39 | self.clear() |
| 40 | self.update(*args, **kwds) |
| 41 | |
| 42 | def clear(self): |
| 43 | self.__end = end = [] |