We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 498627f commit f6a83d9Copy full SHA for f6a83d9
tldr.py
@@ -630,8 +630,9 @@ def main() -> None:
630
single = len(platforms_str) == 1
631
print(
632
f"There {'is' if single else 'are'} other version"
633
- "{'' if single else 's'} of this page under the following"
634
- "platform{'' if single else 's'}: {', '.join(platforms_str)}."
+ f"{'s' if not single else ''} of this page under the "
+ f"following platform{'s' if not single else ''}: "
635
+ f"{', '.join(platforms_str)}."
636
)
637
except URLError as e:
638
sys.exit("Error fetching from tldr: {}".format(e))
0 commit comments