Docstring for this method will contain 'Raises Exception':
def foo():
try:
raise Exception
except Exception as e:
pass
I might try to fix this later. It is necessary to check that Exception
will not be raised in the except
block.
There might be a problem when a class of method which contains an unaligned multiline comment or string.
def foo():
x=1
"""
Comment
"""
x=2
return x
This will probably result in an error, though the code is valid.