We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06d3ad9 commit f809e23Copy full SHA for f809e23
src/JlWrap/any.jl
@@ -244,7 +244,10 @@ function pyjlany_help(self, mime_::Py)
244
mime = pyconvertarg(Union{Nothing,String}, mime_, "mime")
245
doc = Docs.getdoc(self)
246
if doc === nothing
247
- doc = Docs.doc(self)
+ # hack: the relevant methods of Docs.doc are actually
248
+ # in REPL, so we load it dynamically if needed
249
+ @eval Main using REPL
250
+ doc = invokelatest(Docs.doc, self)
251
end
252
x = Utils.ExtraNewline(doc)
253
if mime === nothing
0 commit comments