Skip to content

Conversation

@miguelprada
Copy link

Python 3.8 deprecated ast.Str, which is used to check the exact place where a function starts disregarding docstrings. More recent versions of Python completely removed this from ast and this test started throwing AttributeError exceptions.

I'm not very familiar with ast, but in my limited testing this fixes the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant