# HG changeset patch # User Paul Boddie # Date 1476710830 -7200 # Node ID 795869d7efcd3729d593c28cd127c51933393cd6 # Parent d2ec435eb18f6bd21d737f510ec4ac7ca0aeb282 Updated docstring to describe invocation constraints on attributes. diff -r d2ec435eb18f -r 795869d7efcd deducer.py --- a/deducer.py Sun Oct 16 16:53:03 2016 +0200 +++ b/deducer.py Mon Oct 17 15:27:10 2016 +0200 @@ -1576,6 +1576,12 @@ given location. This is only useful where a specific accessor is known to be a class. + If 'invocations' is given, the given attribute names indicate those + which are involved in invocations. Such invocations, if involving + functions, will employ those functions as bound methods and will + therefore not support classes as accessors, only instances of such + classes. + Note that the specified types only indicate the provider types for attributes, whereas the recorded accessor types indicate the possible types of the actual objects used to access attributes.