소스 검색

Removed useless constructor.

Taddeus Kroes 14 년 전
부모
커밋
3d582115cc
1개의 변경된 파일0개의 추가작업 그리고 7개의 파일을 삭제
  1. 0 7
      src/program.py

+ 0 - 7
src/program.py

@@ -9,13 +9,6 @@ import reaching_definitions
 
 
 class Program(Block):
-    def __init__(self, statements):
-        """Start with a given statement list."""
-        Block.__init__(self, statements)
-
-    def __iter__(self):
-        return iter(self.blocks)
-
     def __len__(self):
         """Get the number of statements in the program."""
         return len(self.statements) if hasattr(self, 'statements') \