Re: duplicate docstrings

2005-02-19 Thread Felix Wiemann
Steven Bethard wrote: > class C(object): > def foo(self): > """Foo things""" > ... > > class D(object): > def foo(self): > """Foo things""" > ... > > It bothers me that I'm basically writing the same docstrings multiple > times. I guess what I really

Re: duplicate docstrings

2005-02-19 Thread Brian van den Broek
Steven Bethard said unto the world upon 2005-02-18 13:58: I have two classes that implement the same interface, e.g. something like: class C(object): def foo(self): """Foo things""" ... def bar(self): """Bar things""" ... def baz(self): """Baz thi

duplicate docstrings

2005-02-18 Thread Steven Bethard
I have two classes that implement the same interface, e.g. something like: class C(object): def foo(self): """Foo things""" ... def bar(self): """Bar things""" ... def baz(self): """Baz things in a C manner""" ... class D(object): def