diff options
author | John Wiegley <johnw@newartisans.com> | 2013-02-17 14:24:10 -0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2013-02-17 14:24:10 -0800 |
commit | 12db87f4c0e8269dc70be1a5585c87e944adab72 (patch) | |
tree | 8054c3bb51669f1fb968287d271e7d170744b083 /doc/ledger3.texi | |
parent | 0357f92f810ad4843ba11e321ad63e804ad0354e (diff) | |
parent | 2b8743d5026c0cb801cb2e3d8c8fb6d342db4990 (diff) | |
download | fork-ledger-12db87f4c0e8269dc70be1a5585c87e944adab72.tar.gz fork-ledger-12db87f4c0e8269dc70be1a5585c87e944adab72.tar.bz2 fork-ledger-12db87f4c0e8269dc70be1a5585c87e944adab72.zip |
Merge pull request #156 from tubaman/embedded_python_doc_fix
Small corrections in the Embedded Python section
Diffstat (limited to 'doc/ledger3.texi')
-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 55732ceb..92cb07fb 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -7656,11 +7656,11 @@ for loop), then the data reverts back to its raw state. @node Embedded Python, Amounts, Queries, Extending with Python @section Embedded Python -Can you embed Python into your data files using the 'python' directive: +You can embed Python into your data files using the 'python' directive: @smallexample python - import so + import os def check_path(path_value): print "%s => %s" % (str(path_value), os.path.isfile(str(path_value))) return os.path.isfile(str(path_value)) |