old_contents: from . import data
  from . import datasets
  from . import utils
  from . import vocab
  from . import experimental
  
  __version__ = '0.6.0'
  
  __all__ = ['data',
             'datasets',
             'utils',
             'vocab',
             'experimental']
  
  
  def _init_extension():
      import torch
      torch.ops.load_library('torchtext/_torchtext.so')
      torch.classes.load_library('torchtext/_torchtext.so')
  
  
  _init_extension()
  
  
  del _init_extension
  
new_contents: from . import data
  from . import datasets
  from . import utils
  from . import vocab
  from . import experimental
  
  __version__ = '0.6.0'
  
  __all__ = ['data',
             'datasets',
             'utils',
             'vocab',
             'experimental']
  
  
  def _init_extension():
      import os
      import importlib
      import torch
  
      # load the custom_op_library and register the custom ops
      lib_dir = os.path.dirname(__file__)
      loader_details = (
          importlib.machinery.ExtensionFileLoader,
          importlib.machinery.EXTENSION_SUFFIXES
      )
  
      extfinder = importlib.machinery.FileFinder(lib_dir, loader_details)
      ext_specs = extfinder.find_spec("_torchtext")
      if ext_specs is None:
          raise ImportError
      torch.ops.load_library(ext_specs.origin)
      torch.classes.load_library(ext_specs.origin)
  
  
  _init_extension()
  
  
  del _init_extension
  
subject: Fix import path (#764)