Fix docstring, comment typos

This commit is contained in:
JOlson
2020-05-09 16:37:38 +12:00
committed by Jacob Plaster
parent 51803c87c9
commit 427e99710e
17 changed files with 52 additions and 43 deletions

View File

@@ -47,7 +47,9 @@ class Transfer:
return Transfer(mts, wallet_from, wallet_to, currency_from, currency_to, amount)
def __str__(self):
''' Allow us to print the Transfer object in a pretty format '''
"""
Allow us to print the Transfer object in a pretty format
"""
text = "Transfer <{} from {} ({}) to {} ({}) mts={}>"
return text.format(self.amount, self.wallet_from, self.currency_from,
self.wallet_to, self.currency_to, self.mts)