Better control over docstring generation

This commit is contained in:
Dave Halter committed 2019-05-05 19:50:52 +02:00
1 parent d0b0fb3cb3
commit 45a5eee18a
3 files changed
+25 -7

No files matched your search

+2
View File
@@ -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(),
)