don't treat instance as special

This commit is contained in:
Keewis 2020-05-17 23:02:35 +02:00
parent bafb24dd93
commit bdea34e54e

View File

@ -932,8 +932,6 @@ class NumpyDocstring(GoogleDocstring):
type_ = "value_set"
elif token in ("optional", "default"):
type_ = "control"
elif "instance" in token:
type_ = "literal"
elif re.match(":[^:]+:`[^`]+`", token):
type_ = "reference"
elif token.isnumeric() or (token.startswith('"') and token.endswith('"')):