Skip to main content

All Questions

8 votes
2 answers
6k views

Sharing Docstrings between similar functions?

Assuming we have different classes with methods that possess the exact same description, however execute code a bit differently for the same return type. class Foo: """This is the Foo class ...
lucasgcb's user avatar
  • 365