Skip to content

Commit 53c2abc

Browse files
committed
Attach release note to correct issue
Closes #491
1 parent 489abb1 commit 53c2abc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

autoapi/_parser.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,10 @@ def parse_functiondef(self, node):
279279
target_ok = False
280280
break
281281
_object = target.expr
282-
if not isinstance(_object, astroid.nodes.Name) or _object.name != "self":
282+
if (
283+
not isinstance(_object, astroid.nodes.Name)
284+
or _object.name != "self"
285+
):
283286
target_ok = False
284287
break
285288
if not target_ok:
File renamed without changes.

0 commit comments

Comments
 (0)