how to inherit docstrings?
Terry Reedy
tjreedy at udel.edu
Thu Jun 9 23:59:08 EDT 2011
More information about the Python-list mailing list
Thu Jun 9 23:59:08 EDT 2011
- Previous message (by thread): how to inherit docstrings?
- Next message (by thread): how to inherit docstrings?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 6/9/2011 9:12 PM, Carl Banks wrote: > Presumably, the reason you are overriding a method in a subclass is to change its behavior; I'd expect an inherited docstring to be inaccurate more often than not. So I'd be -1 on automatically inheriting them. > > However, I'd be +1 easily on a little help from the language to explicitly request to inherit the docstring. An empty docstring "" could be interpreted as 'ditto' ;-) It would be useless otherwise. -- Terry Jan Reedy
- Previous message (by thread): how to inherit docstrings?
- Next message (by thread): how to inherit docstrings?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list