Ticket #1459 (closed defect: fixed)
[with patch, positive review] make notebook ?? behavior like command line behavior
| Reported by: | mhansen | Owned by: | mhansen |
|---|---|---|---|
| Priority: | minor | Milestone: | sage-2.9.1 |
| Component: | notebook | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
On the command-line, if a class docstring is not found, then the one from init is used. This does not happen in the notebook.
Attachments
Change History
comment:1 Changed 5 years ago by rlm
- Summary changed from [with patch] make notebook ?? behavior like command line behavior to [with patch, negative review] make notebook ?? behavior like command line behavior
You should make sure to run doctests (no pun intended):
**********************************************************************
File "sageinspect.py", line 404:
sage: sage_getdoc(None)
Expected:
''
Got:
'x.__init__(...) initializes x; see x.__class__.__doc__ for signature'
**********************************************************************
comment:2 Changed 5 years ago by mabshoff
- Summary changed from [with patch, negative review] make notebook ?? behavior like command line behavior to [with patch, needs new review] make notebook ?? behavior like command line behavior
comment:4 Changed 5 years ago by rlm
- Status changed from new to closed
- Resolution set to fixed
- Summary changed from [with patch, needs new review] make notebook ?? behavior like command line behavior to [with patch, positive review] make notebook ?? behavior like command line behavior
merged in 2.9.1 rc0
added if obj is None: return ''
Note: See
TracTickets for help on using
tickets.

