# HG changeset patch # User Paul Boddie # Date 1488930596 -3600 # Node ID 25e7ca6806c6235d63df12c91b2473efefb586f1 # Parent fe6046254d69f33609ca0ba8ece5f1da48448aca Added a comment about constant access mappings. diff -r fe6046254d69 -r 25e7ca6806c6 deducer.py --- a/deducer.py Wed Mar 08 00:49:21 2017 +0100 +++ b/deducer.py Wed Mar 08 00:49:56 2017 +0100 @@ -1331,6 +1331,9 @@ self.identify_reference_attributes(access_location, attrname, class_types, instance_types, module_types, True) self.record_reference_types(accessor_location, class_types, instance_types, module_types, True, True) + # Define mappings between the original and access locations + # so that translation can work from the source details. + original_location = (location, original_name, original_attrnames, 0) if original_location != access_location: