Completions for other.<TAB> in __eq__
Brought to you by:
fabioz
If would be handy if the completions for the second
parameter of __eq__, __cmp__, __lt__, etc. would be
the same as for self.
e.g.:
class MyClass:
def __init__(self)
self.a = 1
self.b = 2
def __eq__(self, other):
return (isinstance(other, self.__class__ and
other.<TAB> # Now show me a and b!