diff options
Diffstat (limited to 'python/qpid/spec.py')
-rw-r--r-- | python/qpid/spec.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/qpid/spec.py b/python/qpid/spec.py index 4d0497bced..537ced113b 100644 --- a/python/qpid/spec.py +++ b/python/qpid/spec.py @@ -115,9 +115,9 @@ class Spec(Metadata): klass, meth = parts return self.classes.byname[klass].methods.byname[meth] - def struct(self, name): + def struct(self, name, *args, **kwargs): type = self.domains.byname[name].type - return qpid.Struct(type) + return qpid.Struct(type, *args, **kwargs) def define_module(self, name, doc = None): module = new.module(name, doc) |