removed type from docstring when type hint is given

This commit is contained in:
Chris Brendel
2023-01-12 15:29:09 -05:00
parent 56620c0191
commit 6514bb1b50

View File

@@ -14,7 +14,7 @@ return {
{ i.HasParameter, "", { type = { "func" } } }, { i.HasParameter, "", { type = { "func" } } },
{ i.HasParameter, "Args:", { type = { "func" } } }, { i.HasParameter, "Args:", { type = { "func" } } },
{ i.Parameter, " %s ($1): $1", { type = { "func" } } }, { i.Parameter, " %s ($1): $1", { type = { "func" } } },
{ { i.Parameter, i.Type }, " %s (%s): $1", { required = i.Tparam, type = { "func" } } }, { { i.Parameter, i.Type }, " %s: $1", { required = i.Tparam, type = { "func" } } },
{ i.ArbitraryArgs, " %s: $1", { type = { "func" } } }, { i.ArbitraryArgs, " %s: $1", { type = { "func" } } },
{ i.Kwargs, " %s: $1", { type = { "func" } } }, { i.Kwargs, " %s: $1", { type = { "func" } } },
{ i.ClassAttribute, " %s: $1", { before_first_item = { "", "Attributes: " } } }, { i.ClassAttribute, " %s: $1", { before_first_item = { "", "Attributes: " } } },