Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Apr 23, 2024
1 parent d65ba3d commit 2506a98
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions inflect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3910,12 +3910,11 @@ def _handle_chunk(chunk):
if wantlist:
return [sign] * bool(sign) + numchunks


signout = f"{sign} " if sign else ""
valout = (
', '.join(numchunks)
if group else
''.join(self._render(numchunks, decimal, comma))
if group
else ''.join(self._render(numchunks, decimal, comma))
)
return signout + valout

Expand All @@ -3931,7 +3930,6 @@ def _render(chunks, decimal, comma):
yield comma
yield f" {nc}"


@typechecked
def join(
self,
Expand Down

0 comments on commit 2506a98

Please sign in to comment.