Correct syntax error in __init__ method of table class