Skip to content

Commit fa0021a

Browse files
ufechner7Copilot
andauthored
Update scripts/stats.jl
Co-authored-by: Copilot <[email protected]>
1 parent 0a34919 commit fa0021a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/stats.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ function check_exported_docs(mod::Module; only_functions=false)
2929
exported_symbols = names(mod, all=false)
3030
doc_status = Dict{Symbol,Bool}()
3131
for sym in exported_symbols
32-
if only_functions && !isa(getfield(mod, sym), Function)
32+
val = getfield(mod, sym)
33+
if only_functions && !isa(val, Function)
3334
continue
3435
end
3536
doc_status[sym] = Base.Docs.hasdoc(mod, sym)

0 commit comments

Comments
 (0)