audio icon indicating copy to clipboard operation
audio copied to clipboard

Avoid crash when __doc__ is optimized away to None (-OO)

Open FremyCompany opened this issue 8 months ago • 2 comments

When the python -OO flag is used, doc strings are no longer stored, and doc always returns None.

This makes the library fail at import time for a rather dubious reason.

It would be good to have this fixed.

FremyCompany avatar Feb 19 '25 14:02 FremyCompany