-
Notifications
You must be signed in to change notification settings - Fork 188
Closed
Description
Lines 260 to 268 in e3e3008
| function Base.Docs.doc(o::PyObject) | |
| if hasproperty(o, "__doc__") | |
| d = o."__doc__" | |
| if !(d ≛ pynothing[]) | |
| return Base.Docs.Text(convert(AbstractString, d)) | |
| end | |
| end | |
| return Base.Docs.Text("Python object (no docstring found)") | |
| end |
Docstring for python objects have the type
Base.Docs.Text{String}, which has been deprecated. Since python documentation is usually in RST format, maybe we could create a type for that?
This has caused trouble in Pluto when displaying documentation in the help panel.
Metadata
Metadata
Assignees
Labels
No labels