def test(self): """ unpacking in instance attributes """ # we're not sure if temp() returns two or three values # so we shouldn't emit an error self.a, self.b = temp() self.a, self.b = temp2() self.a, self.b = unpack() # [unbalanced-tuple-unpacking]
def test(self): """ unpacking in instance attributes """ self.a, self.b = temp() # [unbalanced-tuple-unpacking] self.a, self.b = temp2() self.a, self.b = unpack() # [unbalanced-tuple-unpacking]
def do_stuff9(): """ This is not correct """ first, second = unpack() # [unbalanced-tuple-unpacking] return first + second