Add docstring
This commit is contained in:
parent
d30ccf592d
commit
e71d14fd39
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ def parse_arguments() -> argparse.Namespace:
|
||||||
"""Arguments consist of:
|
"""Arguments consist of:
|
||||||
* a coin to look up
|
* a coin to look up
|
||||||
* the currency to set the value on (defaults to USD)
|
* the currency to set the value on (defaults to USD)
|
||||||
* the number of decimals
|
* the number of decimals to display
|
||||||
"""
|
"""
|
||||||
|
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
|
@ -26,7 +26,7 @@ def parse_arguments() -> argparse.Namespace:
|
||||||
|
|
||||||
|
|
||||||
def compute(args: argparse.Namespace) -> str:
|
def compute(args: argparse.Namespace) -> str:
|
||||||
"""h"""
|
"""Send a request to the API with the given arguments."""
|
||||||
|
|
||||||
symbols = {
|
symbols = {
|
||||||
"GBP": "£",
|
"GBP": "£",
|
||||||
|
|
Loading…
Add table
Reference in a new issue