summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRyan Nowakowski <tubaman@fattuba.com>2013-02-17 15:43:48 -0600
committerRyan Nowakowski <tubaman@fattuba.com>2013-02-17 15:43:48 -0600
commit2b8743d5026c0cb801cb2e3d8c8fb6d342db4990 (patch)
tree8054c3bb51669f1fb968287d271e7d170744b083 /doc
parent0357f92f810ad4843ba11e321ad63e804ad0354e (diff)
downloadfork-ledger-2b8743d5026c0cb801cb2e3d8c8fb6d342db4990.tar.gz
fork-ledger-2b8743d5026c0cb801cb2e3d8c8fb6d342db4990.tar.bz2
fork-ledger-2b8743d5026c0cb801cb2e3d8c8fb6d342db4990.zip
Small corrections in the Embedded Python section
Diffstat (limited to 'doc')
-rw-r--r--doc/ledger3.texi4
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))