nutti / fake-bpy-module

Fake Blender Python API module collection for the code completion.
MIT License
1.35k stars 96 forks source link

AnyType should be rendered as typing.Any #123

Closed angavrilov closed 1 year ago

angavrilov commented 1 year ago

The AnyType type is used in documentation as a placeholder that means literally "any type", and no instances of this type actually exist.

Therefore, as a global rule all references to it should be rendered as its semantic equivalent in Python: typing.Any.

(Separated from #121)

nutti commented 1 year ago

This issue is fixed by improving the parse algorithm.