From 35e05272223b7d2aa0a3255005541f205ff99c9d Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 30 Jan 2020 18:54:41 -0800 Subject: [PATCH] Improve these variable names for clarity. --- voussoirkit/betterhelp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voussoirkit/betterhelp.py b/voussoirkit/betterhelp.py index af4f050..de4ec2c 100644 --- a/voussoirkit/betterhelp.py +++ b/voussoirkit/betterhelp.py @@ -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