From e71d14fd39d6f90b762d38728da144a520d11410 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Fri, 8 May 2020 10:55:58 +0200 Subject: [PATCH] Add docstring --- dotfiles/i3/scripts/crypto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/i3/scripts/crypto b/dotfiles/i3/scripts/crypto index 81326a3..1a0fc92 100755 --- a/dotfiles/i3/scripts/crypto +++ b/dotfiles/i3/scripts/crypto @@ -13,7 +13,7 @@ def parse_arguments() -> argparse.Namespace: """Arguments consist of: * a coin to look up * the currency to set the value on (defaults to USD) - * the number of decimals + * the number of decimals to display """ parser = argparse.ArgumentParser() @@ -26,7 +26,7 @@ def parse_arguments() -> argparse.Namespace: def compute(args: argparse.Namespace) -> str: - """h""" + """Send a request to the API with the given arguments.""" symbols = { "GBP": "£",