parameters: (self, buffer)
docstring: Load the internal subset if there might be one.
docstring_summary: Load the internal subset if there might be one.
docstring_tokens: Load the internal subset if there might be one .
function: def _setup_subset(self, buffer):
          """Load the internal subset if there might be one."""
          if self.document.doctype:
              extractor = InternalSubsetExtractor()
              extractor.parseString(buffer)
              subset = extractor.getSubset()
              self.document.doctype.internalSubset = subset
function_tokens: def _setup_subset ( self , buffer ) : if self . document . doctype : extractor = InternalSubsetExtractor ( ) extractor . parseString ( buffer ) subset = extractor . getSubset ( ) self . document . doctype . internalSubset = subset