From 3fbf291601d377f0b81faaf341b31d96b0dcac4e Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Tue, 26 Dec 2023 11:22:26 +0100 Subject: [PATCH] fix `get_source` docstring --- pdoc/doc_ast.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pdoc/doc_ast.py b/pdoc/doc_ast.py index 56c91496..c04bf56b 100644 --- a/pdoc/doc_ast.py +++ b/pdoc/doc_ast.py @@ -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. """