#NEWLINE# @ transaction . atomic #NEWLINE# def transfer( debtor_id , creditor_id , amount , reference = None ) : #NEWLINE# #INDENT# "Withdraw money from debtor's wallet and deposit it into creditor's" #NEWLINE# withdraw ( debtor_id , amount , reference ) #NEWLINE# deposit ( creditor_id , amount , reference )