Improve these variable names for clarity.
This commit is contained in:
parent
895a223359
commit
35e0527222
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@ def listget(li, index, fallback=None):
|
|||
|
||||
def add_previews(docstring, sub_docstrings):
|
||||
previews = {
|
||||
key: docstring_preview(value)
|
||||
for (key, value) in sub_docstrings.items()
|
||||
sub_name: docstring_preview(sub_text)
|
||||
for (sub_name, sub_text) in sub_docstrings.items()
|
||||
}
|
||||
docstring = docstring.format(**previews)
|
||||
return docstring
|
||||
|
|
Loading…
Reference in a new issue