Skip to content

Commit

Permalink
fix get_source docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils committed Dec 26, 2023
1 parent 3e93213 commit 3fbf291
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pdoc/doc_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
def get_source(obj: Any) -> str:
"""
Returns the source code of the Python object `obj` as a str.
This tries to first unwrap the method if it is wrapped and then calls `inspect.getsource`.
If this fails, an empty string is returned.
"""
Expand Down

0 comments on commit 3fbf291

Please sign in to comment.