2016-12-08 | Paul Boddie | raw files shortlog changelog graph | Fixed bound function references, needed when obtaining defaults for invocations. | |
translator.py (file) |
1.1 --- a/translator.py Thu Dec 08 18:51:05 2016 +0100 1.2 +++ b/translator.py Thu Dec 08 19:26:53 2016 +0100 1.3 @@ -1104,7 +1104,7 @@ 1.4 if not method_class or instance_accessor: 1.5 target = encode_function_pointer(objpath) 1.6 target_structure = self.is_method(objpath) and \ 1.7 - encode_bound_reference(objpath) or \ 1.8 + "&%s" % encode_bound_reference(objpath) or \ 1.9 "&%s" % encode_path(objpath) 1.10 1.11 if not method_class: