3fe52549783a745417cbe8552f8307161d7b8c77,keras/utils/generic_utils.py,Progbar,update,#Progbar#Any#Any#Any#,271
Before Change
return
prev_total_width = self.total_width
if sys.stdout.isatty():
sys.stdout.write("\b" * prev_total_width)
sys.stdout.write("\r")
else:
After Change
return
prev_total_width = self.total_width
if sys.stdout.isatty() or self.is_jupyter:
sys.stdout.write("\b" * prev_total_width)
sys.stdout.write("\r")
else:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: keras-team/keras
Commit Name: 3fe52549783a745417cbe8552f8307161d7b8c77
Time: 2017-11-01
Author: simon@kampgate.se
File Name: keras/utils/generic_utils.py
Class Name: Progbar
Method Name: update
Project Name: pyinstaller/pyinstaller
Commit Name: af2cc1bb0ad61acd7951b10058f247522fd2cf47
Time: 2018-08-18
Author: bjones@ece.msstate.edu
File Name: tests/functional/test_basic.py
Class Name:
Method Name: test_stdout_encoding
Project Name: pyinstaller/pyinstaller
Commit Name: af2cc1bb0ad61acd7951b10058f247522fd2cf47
Time: 2018-08-18
Author: bjones@ece.msstate.edu
File Name: tests/functional/test_basic.py
Class Name:
Method Name: test_stderr_encoding