I think you meant self.addTab().
Also, first PR !!!!!