Commit graph

2 commits

Author SHA1 Message Date
John Wiegley
1aa1ff1977 Fully exported the value_t type to Python.
Now this code works from a value expression:

  def myvalue(incoming):
      import ledger
      x = ledger.Value("100.23")
      print x.type()
      return incoming + x
2009-01-28 17:17:44 -04:00
John Wiegley
fc8dd14467 Create a py_value module, for translating value_t objects to/from Python. 2009-01-23 15:59:01 -04:00