code: def _deprecation_warning(cls):
          
          if issubclass(cls, Location):
              warnings.warn(
                  "Location is deprecated! Please use locator.BlockUsageLocator",
                  DeprecationWarning,
                  stacklevel=3
              )
          elif issubclass(cls, AssetLocation):
              warnings.warn(
                  "AssetLocation is deprecated! Please use locator.AssetLocator",
                  DeprecationWarning,
                  stacklevel=3
              )
          else:
              warnings.warn(
                  "{} is deprecated!".format(cls),
                  DeprecationWarning,
                  stacklevel=3
              )
docs: Display a deprecation warning for the given cls