class TopLevel1:
    class NestedInClass1:
        pass

    class NestedInClass2:
        pass


class TopLevel2:
    def method(self):
        class NestedInMethod1:
            pass

        class NestedInMethod2:
            pass


class func():
    class NestedInFunction1:
        pass

    class NestedInFunction2:
        pass
