We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
repr(VARIANT.missing)
NotImplementedError
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It is very inconvenient when debugging, so let's add elif self is type(self).missing to __repr__.
elif self is type(self).missing
__repr__
comtypes/comtypes/automation.py
Lines 205 to 208 in dbe4fa1
def __repr__(self): if self.vt & VT_BYREF: return "VARIANT(vt=0x%x, byref(%r))" % (self.vt, self[0]) elif self is type(self).missing: return "VARIANT.missing" return "VARIANT(vt=0x%x, %r)" % (self.vt, self.value)
The text was updated successfully, but these errors were encountered:
I will work this while adding type hints to comtypes.automation.
comtypes.automation
Sorry, something went wrong.
This was resolved by #374
No branches or pull requests
It is very inconvenient when debugging, so let's add
elif self is type(self).missing
to__repr__
.comtypes/comtypes/automation.py
Lines 205 to 208 in dbe4fa1
The text was updated successfully, but these errors were encountered: