diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2022-02-10 18:21:33 -0500 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2022-02-10 18:21:33 -0500 |
commit | c28684f7a64b647e37083822b5750dc00f8ee2e6 (patch) | |
tree | d21c0e268bf539c5c8f9b0f0311ead09f01cd820 /doc | |
parent | f50b0e31a474d60be49486f7524a1b182f9c129e (diff) | |
download | taler-util-c28684f7a64b647e37083822b5750dc00f8ee2e6.tar.gz taler-util-c28684f7a64b647e37083822b5750dc00f8ee2e6.tar.bz2 taler-util-c28684f7a64b647e37083822b5750dc00f8ee2e6.zip |
change markup for Amount ctor args, properties from / to =
Diffstat (limited to 'doc')
-rw-r--r-- | doc/doc.org | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/doc.org b/doc/doc.org index b1be861..c1fc52e 100644 --- a/doc/doc.org +++ b/doc/doc.org @@ -68,7 +68,7 @@ the constructor throws an =AmountOverflowError= exception. *** class =Amount= -The constructor takes three args: /currency/, /value/, /fraction/. +The constructor takes three args: =currency=, =value=, =fraction=. : >>> from taler.util.amount import Amount, SignedAmount : # KUDOS 10.50 @@ -76,7 +76,7 @@ The constructor takes three args: /currency/, /value/, /fraction/. : >>> amt : Amount(currency='KUDOS', value=10, fraction=50000000) -=Amount= has three getter properties: /currency/, /value/, /fraction/. +=Amount= has three getter properties: =currency=, =value=, =fraction=. : >>> amt.value, amt.fraction : (10, 50000000) |