Make remove_last_newline private.
This commit is contained in:
1 parent
519fa9cfb5
commit
aaf6c61e69
3 files changed
+4
-4
No files matched your search
@@ -81,6 +81,6 @@ def parse(code, grammar=None, error_recovery=True, start_symbol='file_input'):
|
||||
parser = Parser
|
||||
p = parser(grammar, code, tokens=tokens, **kwargs)
|
||||
if added_newline:
|
||||
p.remove_last_newline()
|
||||
p._remove_last_newline()
|
||||
|
||||
return p.get_root_node()
|
||||
Reference in new issue
Block a user