Hi, is this what you mean? >>> import clr >>> from System import Object >>> from System.Collections.Generic import List >>> List.__class__.__subclasscheck__(Object,List) True
HTH, Gregor Am Mi., 20. Mai 2020 um 01:48 Uhr schrieb <[email protected]>: > In python I can check the inheritance via isinstance() (and issubclass()). > These methods do not work on .NET classes. > Are there alternative methods which are doing the job for .NET > _______________________________________________ > PythonNet mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/pythonnet.python.org/ > Member address: [email protected] >
_______________________________________________ PythonNet mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/pythonnet.python.org/ Member address: [email protected]
