how to inherit docstrings?
Ben Finney
ben+python at benfinney.id.au
Thu Jun 9 21:42:44 EDT 2011
More information about the Python-list mailing list
Thu Jun 9 21:42:44 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 ]
Carl Banks <pavlovevidence at gmail.com> writes: > 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. In which case the onus is on the programmer implementing different behaviour to also override the docstring. -- \ “When we pray to God we must be seeking nothing — nothing.” | `\ —Saint Francis of Assisi | _o__) | Ben Finney
- 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