summaryrefslogtreecommitdiff
path: root/tools/sample.py
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-31 06:00:31 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-31 06:00:31 -0400
commit0bab6e867441c4d9d62b436e0aac48b7dc0096a3 (patch)
tree5b1db4106302abc952a454511f52f2f1f2a6ab01 /tools/sample.py
parentf749a1bb1eb40faa9cac685a02d012a5efb11aaa (diff)
downloadfork-ledger-0bab6e867441c4d9d62b436e0aac48b7dc0096a3.tar.gz
fork-ledger-0bab6e867441c4d9d62b436e0aac48b7dc0096a3.tar.bz2
fork-ledger-0bab6e867441c4d9d62b436e0aac48b7dc0096a3.zip
Added a tools/ subdirectory, with various maintainer related files.
Diffstat (limited to 'tools/sample.py')
-rw-r--r--tools/sample.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/sample.py b/tools/sample.py
new file mode 100644
index 00000000..e32ebbcd
--- /dev/null
+++ b/tools/sample.py
@@ -0,0 +1,7 @@
+import ledger
+
+def myvalue(incoming):
+ x = ledger.Amount("$123.12")
+ print x
+ print x * 1
+ return x * 1