mirror of
https://github.com/python/cpython.git
synced 2025-08-19 00:00:48 +00:00
check possible recursive _as_parameter_ to prevent segfault (closes #1838)
This commit is contained in:
parent
41347fe011
commit
f21ad92351
5 changed files with 43 additions and 2 deletions
|
@ -500,7 +500,7 @@ class RefactoringTool(object):
|
|||
node = new
|
||||
|
||||
def processed_file(self, new_text, filename, old_text=None, write=False,
|
||||
encoding=None):
|
||||
encoding=None, newlines=None):
|
||||
"""
|
||||
Called when a file has been refactored, and there are changes.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue