Use inspect to detect class.
Use inspect to detect class.

https://github.com/lepture/mistune/commit/3af9c0b2763afe91addd69e483bac6e771815995

lepture/mistune,jubel-han/mistune,knightwupz/mistune,knightwupz/mistune