Unverified Commit d587a2fd authored by Qifan Lu's avatar Qifan Lu Committed by GitHub
Browse files

fix: do not set docstring for function when empty (#2745)

* Do not set docstring for function when it's empty

* No need to check pointer for `free`

* Use ternary operator to conditionally set `ml_doc`
parent 830f8eda
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment