Menu

#27 Docstrings should be inherited

feature request
closed-rejected
docset (11)
5
2001-04-15
2001-04-07
No

It would be nice of docstrings in subclass methods were
inherited from superclass methods, perhaps with some
indication (italics, maybe)?

Discussion

  • Doug Hellmann

    Doug Hellmann - 2001-04-15
    • assigned_to: nobody --> doughellmann
    • status: open --> closed-rejected
     
  • Doug Hellmann

    Doug Hellmann - 2001-04-15

    Logged In: YES
    user_id=34486

    This would not represent standard Python behavior, and it
    seems like it might be confusing. It also might result in
    the wrong documentation being generated, since a subclass
    method could do something altogether different from the base
    class implementation.

     
  • Erik Max Francis

    Logged In: YES
    user_id=149827

    Possibly. Mightn't there be a simple docstring that one
    could use to represent this? e.g., "[same]" or something
    along those lines? Just an idea.

     

Log in to post a comment.