docs: def _parseAtImports(self, src):
          """[ import [S|CDO|CDC]* ]*"""
          result = []
          while isAtRuleIdent(src, 'import'):
              ctxsrc = src
              src = stripAtRuleIdent(src)
  
              import_, src = self._getStringOrURI(src)
              if import_ is None:
                  raise self.ParseError('Import expecting string or url', src, ctxsrc)
  
              mediums = []
              medium, src = self._getIdent(src.lstrip())
              while medium is not None:
                  mediums.append(medium)
                  if src[:1] == ',':
                      src = src[1:].lstrip()
                      medium, src = self._getIdent(src)
                  else:
                      break
  
              # XXX No medium inherits and then "all" is appropriate
              if not mediums:
                  mediums = ["all"]
  
              if src[:1] != ';':
                  raise self.ParseError('@import expected a terminating \';\'', src, ctxsrc)
              src = src[1:].lstrip()
  
              stylesheet = self.cssBuilder.atImport(import_, mediums, self)
              if stylesheet is not None:
                  result.append(stylesheet)
  
              src = self._parseSCDOCDC(src)
          return src, result