Sune Debel

Results 9 comments of Sune Debel

Do I understand correctly that this issue is for supporting docstrings of Python C extensions? e.g compiled with Cython? I've been wondering about how to best support that with mkdocstrings....

Can you share what you were importing? I can't immediately reproduce this.

Thank you! I'll investigate

As a work-around, you can manually set the module name on your alias: ```python from typing import Union IntOrStr = Union[int, str] IntOrStr.__module__ = __name__ ```

> I'll try to investigate later. Brilliant 😃 As far as I can tell, the `__module__` attribute (which I assume is what pytkdocs uses) doesn't work the same way for...

Hi there! Sorry about the delay in response, I have been out making adventures with other projects 😅 > I think type subtraction/exclusion is not possible in Python yet. Correct,...

Hi again. It only took me 9 months, but I think I may have come up with a solution to this problem 😄 It seems a function with this signature:...

I just released an implementation of this for version 0.5.3. Check out the readme of the latest release for details.