Skip to content
Snippets Groups Projects

py-3-13: stabilize the docstring output across all supported Python versions

Merged Pierre-Yves David requested to merge topic/default/docstring into branch/default
19 files
+ 739
732
Compare changes
  • Side-by-side
  • Inline
Files
19
+ 2
2
@@ -514,7 +514,7 @@
entries = []
for key in sorted(showview._table.keys()):
entries.append(
r' %s %s'
r'%s %s'
% (
pycompat.sysstr(key.ljust(longest)),
showview._table[key]._origdoc,
@@ -522,7 +522,7 @@
)
cmdtable[b'show'][0].__doc__ = pycompat.sysstr(b'%s\n\n%s\n ') % (
cmdtable[b'show'][0].__doc__.rstrip(),
pycompat.cleandoc(cmdtable[b'show'][0].__doc__),
pycompat.sysstr(b'\n\n').join(entries),
)
Loading