Improve these variable names for clarity.

This commit is contained in:
Ethan Dalool 2020-01-30 18:54:41 -08:00
parent 895a223359
commit 35e0527222

View file

@ -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