From 2506a98c600b3434e43319dbbf39717e453ef614 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Tue, 23 Apr 2024 05:07:56 -0400 Subject: [PATCH] Reformat --- inflect/__init__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/inflect/__init__.py b/inflect/__init__.py index 55114b6..71195b1 100644 --- a/inflect/__init__.py +++ b/inflect/__init__.py @@ -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 @@ -3931,7 +3930,6 @@ def _render(chunks, decimal, comma): yield comma yield f" {nc}" - @typechecked def join( self,