class SomethingRecord:
    description = 'line 1line 2line 3'


class SomethingRecord2:
    description = 'line 1', 'line 2', 'line 3'


class SomethingRecord3:
    description = 'line 1line 2line 3'
whatever = 'line'


class SomethingRecord3:
    description = 'line 1', 'line 2', 'line 3'
Как получить строку «конец оператора» в Python ast