summaryrefslogtreecommitdiff
path: root/puzzles/xtra_new_and_init_mismatch.py
blob: 63debc087678ceabf2c102bca1f581ceb69159ff (plain)
1
2
3
4
5
6
class Foo:
    def __new__(cls, a: int) -> 'Foo':
        raise NotImplementedError()

    def __init__(self, a: str): # error
        pass