Документ взят из кэша поисковой машины. Адрес оригинального документа : http://kodomo.fbb.msu.ru/hg/allpy/rev/7880ea44e56b
Дата изменения: Unknown
Дата индексирования: Mon Oct 1 23:56:28 2012
Кодировка:
allpy: 7880ea44e56b

allpy

changeset 346:7880ea44e56b

Removed all irrelevant super() invocations. (rels #13)
author Daniil Alexeyevsky <me.dendik@gmail.com>
date Thu, 20 Jan 2011 22:01:41 +0300
parents 91b015afd92b
children b6c1eaad5ac6
files allpy/base.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/allpy/base.py	Thu Jan 20 21:51:24 2011 +0300
     1.2 +++ b/allpy/base.py	Thu Jan 20 22:01:41 2011 +0300
     1.3 @@ -105,7 +105,7 @@
     1.4      source = ''
     1.5  
     1.6      def __init__(self, sequence=[], name=None, description=None, source=None):
     1.7 -        super(Sequence, self).__init__(sequence)
     1.8 +        list.__init__(self, sequence)
     1.9          if hasattr(sequence, 'name'):
    1.10              vars(self).update(vars(sequence))
    1.11          if name:
    1.12 @@ -154,7 +154,6 @@
    1.13  
    1.14      def __init__(self):
    1.15          """Initialize empty alignment."""
    1.16 -        super(Alignment, self).__init__()
    1.17          self.sequences = []
    1.18          self.columns = []
    1.19