Searched refs:old_text (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Lib/lib2to3/ |
D | refactor.py | 289 def print_output(self, old_text, new_text, filename, equal): argument 507 def processed_file(self, new_text, filename, old_text=None, write=False, argument 513 if old_text is None: 514 old_text = self._read_python_source(filename)[0] 515 if old_text is None: 517 equal = old_text == new_text 518 self.print_output(old_text, new_text, filename, equal) 524 self.write_file(new_text, filename, old_text, encoding) 528 def write_file(self, new_text, filename, old_text, encoding=None): argument
|
D | main.py | 69 def write_file(self, new_text, filename, old_text, encoding): argument 101 write(new_text, filename, old_text, encoding)
|
/external/python/cpython3/Lib/lib2to3/ |
D | refactor.py | 270 def print_output(self, old_text, new_text, filename, equal): argument 488 def processed_file(self, new_text, filename, old_text=None, write=False, argument 494 if old_text is None: 495 old_text = self._read_python_source(filename)[0] 496 if old_text is None: 498 equal = old_text == new_text 499 self.print_output(old_text, new_text, filename, equal) 505 self.write_file(new_text, filename, old_text, encoding) 509 def write_file(self, new_text, filename, old_text, encoding=None): argument
|
D | main.py | 69 def write_file(self, new_text, filename, old_text, encoding): argument 101 write(new_text, filename, old_text, encoding)
|
/external/python/cpython2/Lib/lib2to3/tests/ |
D | test_refactor.py | 170 def print_output(self, old_text, new_text, filename, equal): argument 171 results.extend([old_text, new_text, filename, equal])
|
/external/python/cpython3/Lib/lib2to3/tests/ |
D | test_refactor.py | 164 def print_output(self, old_text, new_text, filename, equal): argument 165 results.extend([old_text, new_text, filename, equal])
|