-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
I am getting an extra \n when parsing a class definition:
`In [61]: baron.parse("class C:\n pass")
Out[61]:
[{'decorators': [],
'fifth_formatting': [],
'first_formatting': [{'type': 'space', 'value': ' '}],
'fourth_formatting': [],
'inherit_from': [],
'name': 'C',
'parenthesis': False,
'second_formatting': [],
'sixth_formatting': [],
'third_formatting': [],
'type': 'class',
'value': [{'formatting': [],
'indent': ' ',
'type': 'endl',
'value': '\n'},
{'type': 'pass'},
{'formatting': [], 'indent': '', 'type': 'endl', 'value': '\n'}]}]
`
Metadata
Metadata
Assignees
Labels
No labels