[issue36325] Build-out help() to support a class level data dictionary

2019-03-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Moving to a fresh issue. -- stage: -> resolved status: open -> closed ___ Python tracker ___

[issue36325] Build-out help() to support a class level data dictionary

2019-03-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Something like this would be especially helpful for classes using __slots__. The member objects show-up in help(), but there is no way to attach an explanation like we can with property objects. So there is a slots only alternative that would only

[issue36325] Build-out help() to support a class level data dictionary

2019-03-17 Thread Raymond Hettinger
New submission from Raymond Hettinger : class Bicycle: __data_dictionary__ = dict( category = 'Primary use: road, cross-over, or hybrid', model = 'Unique six digit vendor-supplied code', size = 'Rider size: child, small, medium, large, extra-large', price =