We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84ec90c commit 0c7297bCopy full SHA for 0c7297b
com/win32com/client/build.py
@@ -661,6 +661,9 @@ def MakePublicAttributeName(className, is_global=False):
661
if ret == className: # didn't change - force all uppercase.
662
ret = ret.upper()
663
return ret
664
+ elif className.isidentifier():
665
+ # some COM objects have identifiers with national characters
666
+ return className
667
# Strip non printable chars
668
return "".join([char for char in className if char in valid_identifier_chars])
669
0 commit comments