Below is a sketch of a class I want to document. My first wish is to get short help from within Jupyter.
These help calls work as I expected:
help(thermo): showing everything (class, methods and properties)
help(thermo.select): showing the select help
help(thermo.table): showing the table help
Unfortunately, this one doesn't work as I would expect:
help(thermo.take) does not return the help from the take property.
Instead, this statement returns all the attributes from the take object. (2000+)
Could you clarify what happens, and suggest me how to get help(thermo.take) working as I would like?
Thanks
class substances(list, metaclass=substancesMeta):
''' A thermodynamic database of substances '''
@property
def take(self):
''' A simple way to take a substance. '''
def select(self, ... ):
''' Select a subset of the database. '''
def table(self, **kwargs):
''' Create a pandas dataframe from substances object '''