> > You can start by studying the resolve methods. > Ok, I am studying it and have a question. In resolve_ivar method if ivar=='self' it returns ('class', class_name). Shouldn't it return ('instance', class_name)?
Little bit further in same method it checks if ivar is among special_names ('c', 'p', 'g', 'v', ...) and if it is it returns spec_obj which is ('instance', class...). It seems to me that return values for self and c, p, g, v ... are not consistent. Either in both cases it should return ('instance', ....) or in both cases ('class', ...). Am I missing something? Vitalije -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.