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):
|
def add_previews(docstring, sub_docstrings):
|
||||||
previews = {
|
previews = {
|
||||||
key: docstring_preview(value)
|
sub_name: docstring_preview(sub_text)
|
||||||
for (key, value) in sub_docstrings.items()
|
for (sub_name, sub_text) in sub_docstrings.items()
|
||||||
}
|
}
|
||||||
docstring = docstring.format(**previews)
|
docstring = docstring.format(**previews)
|
||||||
return docstring
|
return docstring
|
||||||
|
|
Loading…
Reference in a new issue