homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Make help() enum aware
Type: behavior Stage:
Components: Versions: Python 3.4
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Simplify per-instance control of help() output
View: 19404
Assigned To: Nosy List: barry, eli.bendersky, ethan.furman, ncoghlan, yselivanov
Priority: normal Keywords:

Created on 2013年09月16日 00:03 by ethan.furman, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Messages (4)
msg197845 - (view) Author: Ethan Furman (ethan.furman) * (Python committer) Date: 2013年09月16日 00:03
Currently, if help() is called on an Enum member, it displays help for the class. While this is usually what one wants, it is not for Enums.
msg199128 - (view) Author: Ethan Furman (ethan.furman) * (Python committer) Date: 2013年10月07日 03:33
What I'd really like to see is for help to be smart enough to pick up the docstrings from instances if an instance has one.
msg201364 - (view) Author: Alyssa Coghlan (ncoghlan) * (Python committer) Date: 2013年10月26日 14:49
I proposed a possible solution for this in issue 19404 
msg230449 - (view) Author: Ethan Furman (ethan.furman) * (Python committer) Date: 2014年11月01日 14:54
Closing this as a duplicate of issue19404.
History
Date User Action Args
2022年04月11日 14:57:51adminsetgithub: 63231
2014年11月01日 14:54:07ethan.furmansetstatus: open -> closed
superseder: Simplify per-instance control of help() output
resolution: duplicate
messages: + msg230449
2014年02月01日 00:11:54yselivanovsetnosy: + yselivanov
2013年10月26日 14:49:25ncoghlansetnosy: + ncoghlan
messages: + msg201364
2013年10月07日 03:33:41ethan.furmansetmessages: + msg199128
2013年09月16日 00:03:14ethan.furmancreate

AltStyle によって変換されたページ (->オリジナル) /