Better control over docstring generation
This commit is contained in:
1 parent
d0b0fb3cb3
commit
45a5eee18a
3 files changed
+25
-7
No files matched your search
@@ -41,6 +41,8 @@ class TreeSignature(AbstractSignature):
|
||||
return get_call_signature(
|
||||
self._function_context.tree_node,
|
||||
call_string=self.name.string_name,
|
||||
omit_first_param=self.is_bound,
|
||||
omit_return_annotation=self.context.is_class(),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user