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,