Skip to content

Commit

Permalink
Clean Code
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbautista committed Oct 8, 2024
1 parent 7aaff63 commit 42cc431
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions qtconsole/ansi_code_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@ def split_string(self, string):
self.actions = []
start = 0

# strings ending with \r are assumed to be ending in \r\n since
# \n is appended to output strings automatically. Accounting
# for that, here.
last_char = None
string = string[:-1] if last_char is not None else string

Expand Down

0 comments on commit 42cc431

Please sign in to comment.