From 04d7e2cee745659f9901f5b8ee8db2b808501f91 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Tue, 24 Jun 2008 14:55:33 +0100 Subject: [PATCH] Fix typo --- pybindgen/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pybindgen/module.py b/pybindgen/module.py index e44ae7d..c6f484b 100644 --- a/pybindgen/module.py +++ b/pybindgen/module.py @@ -665,7 +665,7 @@ class ModuleBase(dict): self.header.flush_to(out.get_includes_code_sink()) ## flush the body section - self.header.flush_to(main_sink) + self.body.flush_to(main_sink) ## now generate the module init function itself main_sink.writeln()