<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Python does support multiple inheritance, but these fragments are not an example of a multiple-inheritance situation -- rather, the later class definition -- where _X3DField is a subclass of _X3DNode, overwrites the earlier class definition.<div class=""><br class=""></div><div class="">In the x3d.py file, only three classes are defined as direct subclasses of object:</div><div class=""><br class=""></div><div class="">class _X3DField</div><div class="">class _X3DNode</div><div class="">class _X3DStatement</div><div class=""><br class=""></div><div class="">So I think the operative question is whether it is a design intent that _X3DField also should be a subclass of _X3DNode.  I judge the answer is no, since that would include support for DEF, USE, and metadata. In that light, the second class defintion for _X3DField would be regarded as a bug, to be corrected by modifying the X3duomToX3dPythonPackage.xslt stylesheet.</div><div class=""><div class=""><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 4, 2021, at 11:40 PM, John Carlson <<a href="mailto:yottzumm@gmail.com" class="">yottzumm@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class="">
  
  <div class=""><p class=""><span style="font-family:monospace" class=""><span style="background-color: rgb(255, 255, 255);" class="">Two
          declarations of _X3DField?</span></span></p><p class=""><span style="font-family:monospace" class=""><span style="background-color: rgb(255, 255, 255);" class="">$ grep "class
          _X3DField" x3d.py          </span></span></p><div class=""><span style="font-family:monospace" class=""></span><br class="webkit-block-placeholder"></div>
    <span style="font-family:monospace" class=""><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;" class="">class
        _X3DField</span><span style="background-color: rgb(255, 255, 255);" class="">(object):
      </span><br class="">
    </span><p class=""><span style="font-family:monospace" class=""><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;" class="">class
          _X3DField</span><span style="background-color: rgb(255, 255, 255);" class="">(_X3DNode):</span></span></p><p class=""><span style="font-family:monospace" class=""><span style="background-color: rgb(255, 255, 255);" class="">Is there a
          pylint?</span></span></p><p class=""><span style="font-family:monospace" class=""><span style="background-color: rgb(255, 255, 255);" class="">Isn't multiple
          inheritance possible?</span></span></p><p class=""><span style="font-family:monospace" class=""><span style="background-color: rgb(255, 255, 255);" class="">Thanks!</span></span></p><p class=""><span style="font-family:monospace" class=""><span style="background-color: rgb(255, 255, 255);" class="">John<br class="">
        </span></span></p><div class=""><span style="font-family:monospace" class=""></span><br class="webkit-block-placeholder"></div>
  </div>
_______________________________________________<br class="">x3d-public mailing list<br class=""><a href="mailto:x3d-public@web3d.org" class="">x3d-public@web3d.org</a><br class="">http://web3d.org/mailman/listinfo/x3d-public_web3d.org<br class=""></div></blockquote></div><br class=""></div></div></div></body></html>