Skip to content

Commit a37dc49

Browse files
committed
Remove unnecessary from None in will
1 parent ff3bfbf commit a37dc49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

varname.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def i_will():
178178
raise VarnameRetrievingError(
179179
"Function `will` has to be called within "
180180
"a method/property of a class."
181-
) from None
181+
)
182182
return None
183183
# ast.Attribute
184184
return node.attr

0 commit comments

Comments
 (0)