Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/_pyrepl/simple_interact.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def maybe_run_command(statement: str) -> bool:

return False

while 1:
while True:
try:
try:
sys.stdout.flush()
Expand Down
2 changes: 1 addition & 1 deletion Lib/_pyrepl/unix_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ def __tputs(self, fmt, prog=delayprog):
# only if the bps is actually needed (which I'm
# betting is pretty unlkely)
bps = ratedict.get(self.__svtermstate.ospeed)
while 1:
while True:
m = prog.search(fmt)
if not m:
os.write(self.output_fd, fmt)
Expand Down
Loading