summaryrefslogtreecommitdiff
path: root/src/py_amount.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/py_amount.cc')
-rw-r--r--src/py_amount.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/py_amount.cc b/src/py_amount.cc
index 0b9e0410..9ce4a02d 100644
--- a/src/py_amount.cc
+++ b/src/py_amount.cc
@@ -77,6 +77,7 @@ namespace {
amount.parse(str, flags);
}
+#if 0
void py_print(amount_t& amount, object out) {
if (PyFile_Check(out.ptr())) {
pyofstream outstr(reinterpret_cast<PyFileObject *>(out.ptr()));
@@ -86,6 +87,7 @@ namespace {
_("Argument to amount.print_(file) is not a file object"));
}
}
+#endif
annotation_t& py_amount_annotation(amount_t& amount) {
return amount.annotation();