diff options
author | Bernát Gábor <bgabor8@bloomberg.net> | 2020-02-12 13:47:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-12 13:47:41 +0000 |
commit | 77f0dd80a12105864d8475abb6609dfd693ef5ac (patch) | |
tree | 8a9317398ef0b216987c41a8a4bc36c62bcfff43 /docs/render_cli.py | |
parent | 80fe52f4a26d59e7b855afbaebe7b7ab1088fb4b (diff) | |
download | virtualenv-77f0dd80a12105864d8475abb6609dfd693ef5ac.tar.gz |
expose and document programmatic API (#1592)
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
Diffstat (limited to 'docs/render_cli.py')
-rw-r--r-- | docs/render_cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/render_cli.py b/docs/render_cli.py index af350d1..4417c63 100644 --- a/docs/render_cli.py +++ b/docs/render_cli.py @@ -117,7 +117,7 @@ class CliTable(SphinxDirective): names = option["name"] default = option["default"] if default is not None: - if isinstance(default, str) and default[0] == default[-1] and default[0] == '"': + if isinstance(default, str) and default and default[0] == default[-1] and default[0] == '"': default = default[1:-1] if default == SUPPRESS: default = None |