code: def _import(self, path, name):
          # type: (Text, Text) -> Text
          
          imp = path.replace('/', '.')
          self.imports[imp].add(name)
          return name
docs: Imports a stdlib path and returns a handle to it
          eg. self._import("typing", "Optional") -> "Optional"