From 6b03faa2cbe2e4890aeddf2e0fffd7c9de67a6b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 19 Sep 2024 17:34:55 +0200 Subject: [PATCH] documentation/python: fill property.type_link and param.default always. Also not sure what that commented-out return was about. --- documentation/python.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/python.py b/documentation/python.py index 645f5655..511feb30 100755 --- a/documentation/python.py +++ b/documentation/python.py @@ -1718,6 +1718,7 @@ def extract_function_doc(state: State, parent, entry: Empty) -> List[Any]: param = Empty() param.name = '...' param.type, param.type_link = None, None + param.default = None out.params = [param] out.type, out.type_link = None, None param_names = [] @@ -1881,8 +1882,7 @@ def extract_property_doc(state: State, parent, entry: Empty): out.is_gettable = True out.is_settable = False out.is_deletable = False - out.type = None - #return out + out.type, out.type_link = None, None # Otherwise it's a classic property else: -- 2.30.2