Skip to content

Conversation

@Avasam
Copy link
Collaborator

@Avasam Avasam commented Apr 19, 2025

Extracted from #2555

__doc__ will always be None because it references com/win32com/client/__init__.py's docstring (I believe this class was part of the gen_py generation a long time ago).

Before:

>>> from win32com.client import gencache
>>> repr(gencache.EnsureModule("{6BCDCB60-5605-11D0-AE5F-CADD4C000000}", 0, 1, 1).ArrayTest())
'<win32com.gen_py.None.ArrayTest>'

After:

>>> from win32com.client import gencache
>>> repr(gencache.EnsureModule("{6BCDCB60-5605-11D0-AE5F-CADD4C000000}", 0, 1, 1).ArrayTest())
'<win32com.gen_py.6BCDCB60-5605-11D0-AE5F-CADD4C000000x0x1x1.ArrayTest>'

@Avasam Avasam requested a review from mhammond May 30, 2025 18:52
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