# HG changeset patch # User Paul Boddie # Date 1481221613 -3600 # Node ID 93ced5f66cd91b2dc472b05c240e47baaaae486e # Parent 5f24a4b9d16a4bcba59c3aa65b3c928ef75b9152 Fixed bound function references, needed when obtaining defaults for invocations. diff -r 5f24a4b9d16a -r 93ced5f66cd9 translator.py --- a/translator.py Thu Dec 08 18:51:05 2016 +0100 +++ b/translator.py Thu Dec 08 19:26:53 2016 +0100 @@ -1104,7 +1104,7 @@ if not method_class or instance_accessor: target = encode_function_pointer(objpath) target_structure = self.is_method(objpath) and \ - encode_bound_reference(objpath) or \ + "&%s" % encode_bound_reference(objpath) or \ "&%s" % encode_path(objpath) if not method_class: