diff options
-rw-r--r-- | doc/ledger3.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi index 68f47d99..d3efc06f 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -8496,8 +8496,8 @@ Here is how you would traverse all the postings in your data file: @smallexample import ledger -for xact in ledger.read_journal("sample.dat").xacts: - for post in xact.posts: +for xact in ledger.read_journal("sample.dat").xacts(): + for post in xact.posts(): print "Transferring %s to/from %s" % (post.amount, post.account) @end smallexample |