diff options
author | chrysle <fritzihab@posteo.de> | 2023-04-28 01:36:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-27 16:36:03 -0700 |
commit | fd93dd79be89b21e6e9d43ca2dd1b02b811f6d6f (patch) | |
tree | 89c53dd6b596d5ff6da56bb814b57b735e8c8f24 /docs/render_cli.py | |
parent | 89f80b8fb18a15243d5f0b5e288f62bc86538a80 (diff) | |
download | virtualenv-fd93dd79be89b21e6e9d43ca2dd1b02b811f6d6f.tar.gz |
3.12 support and no setuptools/wheel on 3.12+ (#2558)
Diffstat (limited to 'docs/render_cli.py')
-rw-r--r-- | docs/render_cli.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/docs/render_cli.py b/docs/render_cli.py index 5e76611..76cecd1 100644 --- a/docs/render_cli.py +++ b/docs/render_cli.py @@ -180,15 +180,7 @@ class CliTable(SphinxDirective): content = row.help[: row.help.index("(") - 1] else: content = row.help - if name in ("--setuptools", "--pip", "--wheel"): - text = row.help - at = text.index(" bundle ") - help_body = n.paragraph("") - help_body += n.Text(text[: at + 1]) - help_body += n.literal(text="bundle") - help_body += n.Text(text[at + 7 :]) - else: - help_body = n.paragraph("", "", n.Text(content)) + help_body = n.paragraph("", "", n.Text(content)) if row.choices is not None: help_body += n.Text("; choice of: ") first = True |