-
-
Notifications
You must be signed in to change notification settings - Fork 107
TypeError: 'NoneType' object is not iterable #66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello, I've run into the same error and think I've found a fix. For me it's happening when I inherit a Generic Type as a concrete type. The line in question throwing the error for me was:
Below is some replacement code, with comments explaining the problem and solution:
I am going to make a PR with the above code. It does not break any of the existing tests, and I've added a test for this use case. |
Created a PR with the fix here: https://github.com/agronholm/sphinx-autodoc-typehints/pull/67/files |
Fixed via 645fa6b. |
thank you! |
Hi, I encountered this issue when building docs and included sphinx-autodoc-typehints:
sphinx-build -M html docs docs/_build -q 2>&1
The text was updated successfully, but these errors were encountered: