Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau authored Feb 7, 2025
1 parent df2a9b5 commit 590bfa3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ipyparallel/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,7 @@ def _plaintext(self) -> str:
# add newline for multiline reprs
text_out = '\n' + text_out

return (
f"Out[{self.metadata['engine_id']}:{self.execution_count}]: {text_out}",
)
return f"Out[{self.metadata['engine_id']}:{self.execution_count}]: {text_out}"

def _repr_pretty_(self, p, cycle):
p.text(self._plaintext())
Expand Down

0 comments on commit 590bfa3

Please sign in to comment.