Closed nigelm closed 3 years ago
Hello, thank you for the report!
I'll try to replicate first, then look for a fix (PRs welcome!) :slightly_smiling_face:
This only seems to happen on Python 3.9.x. (The bug report mentions the wrong version)
Thanks @phil65 for the note. It must then be related to #75: ast
has changed in Python 3.9, and it breaks the current pytkdocs parser. These bugs are preventing the use of Python 3.9 so I'll mark this (in my head) as pretty urgent.
I've pushed a fix, could you try again with the latest commit @nigelm, @phil65?
Should be fixed in 0.10.1.
Describe the bug If there is a type annotation of the form
Dict[x, y]
then the parser throws an exception.To Reproduce
Expected behavior For it not to throw an exception like this:
System (please complete the following information):
pytkdocs
version 0.9.0 and github version